summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-08 11:31:36 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-08 11:31:44 +0100
commit0b49907c76bc20a9912fe4f70bb9789019fc31ba (patch)
treed53ab499edfd7ec0d7f2363e7af4fe5126bead23 /dev-ros/image_view/files
parentapp-misc/cpipe: Add cpipe to the tree. (diff)
downloadgentoo-0b49907c76bc20a9912fe4f70bb9789019fc31ba.tar.gz
gentoo-0b49907c76bc20a9912fe4f70bb9789019fc31ba.tar.bz2
gentoo-0b49907c76bc20a9912fe4f70bb9789019fc31ba.zip
dev-ros/image_view: fix build when installing for the first time
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/image_view/files')
-rw-r--r--dev-ros/image_view/files/dynrec.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/image_view/files/dynrec.patch b/dev-ros/image_view/files/dynrec.patch
new file mode 100644
index 000000000000..499888f65a30
--- /dev/null
+++ b/dev-ros/image_view/files/dynrec.patch
@@ -0,0 +1,15 @@
+When installing for the first time, imp.find_module will fail.
+
+Index: image_pipeline-1.12.15/image_view/cfg/ImageView.cfg
+===================================================================
+--- image_pipeline-1.12.15.orig/image_view/cfg/ImageView.cfg
++++ image_pipeline-1.12.15/image_view/cfg/ImageView.cfg
+@@ -2,8 +2,6 @@
+
+ PACKAGE='image_view'
+ try:
+- import imp
+- imp.find_module(PACKAGE)
+ from dynamic_reconfigure.parameter_generator_catkin import *
+ except:
+ import roslib; roslib.load_manifest(PACKAGE)