public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ros/imu_transformer/, dev-ros/imu_transformer/files/
@ 2015-11-01 22:53 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2015-11-01 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     452c8600bbe989ad3b4f06211cdbdccfe5eb2f52
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  1 22:53:03 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Nov  1 22:53:15 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452c8600

dev-ros/imu_transformer: Fix build without tests. Bug #564654.

Package-Manager: portage-2.2.23

 dev-ros/imu_transformer/files/tests.patch          | 23 ++++++++++++++++++++++
 .../imu_transformer/imu_transformer-0.2.1.ebuild   |  1 +
 2 files changed, 24 insertions(+)

diff --git a/dev-ros/imu_transformer/files/tests.patch b/dev-ros/imu_transformer/files/tests.patch
new file mode 100644
index 0000000..84a30fd
--- /dev/null
+++ b/dev-ros/imu_transformer/files/tests.patch
@@ -0,0 +1,23 @@
+commit 5524d5687803f720ed8532f103e804c82cbdadb4
+Author: Alexis Ballier <aballier@gentoo.org>
+Date:   Sun Nov 1 23:50:20 2015 +0100
+
+    imu_transformer: Fix build with CATKIN_ENABLE_TESTIING=OFF
+    
+    https://bugs.gentoo.org/show_bug.cgi?id=564654
+
+diff --git a/imu_transformer/CMakeLists.txt b/imu_transformer/CMakeLists.txt
+index 9a498dc..1148f19 100644
+--- a/imu_transformer/CMakeLists.txt
++++ b/imu_transformer/CMakeLists.txt
+@@ -31,7 +31,9 @@ target_link_libraries(imu_transformer_nodelet ${catkin_LIBRARIES})
+ add_executable(imu_transformer_node src/imu_transformer_node.cpp)
+ target_link_libraries(imu_transformer_node ${catkin_LIBRARIES})
+ 
+-roslaunch_add_file_check(launch)
++if(CATKIN_ENABLE_TESTING)
++  roslaunch_add_file_check(launch)
++endif()
+ 
+ install(TARGETS imu_transformer_node imu_transformer_nodelet
+ 	RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}

diff --git a/dev-ros/imu_transformer/imu_transformer-0.2.1.ebuild b/dev-ros/imu_transformer/imu_transformer-0.2.1.ebuild
index bfb09b7..48b5f06 100644
--- a/dev-ros/imu_transformer/imu_transformer-0.2.1.ebuild
+++ b/dev-ros/imu_transformer/imu_transformer-0.2.1.ebuild
@@ -27,3 +27,4 @@ RDEPEND="
 	dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/tests.patch" )


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-01 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-01 22:53 [gentoo-commits] repo/gentoo:master commit in: dev-ros/imu_transformer/, dev-ros/imu_transformer/files/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox