diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-03-08 11:31:36 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-03-08 11:31:44 +0100 |
commit | 0b49907c76bc20a9912fe4f70bb9789019fc31ba (patch) | |
tree | d53ab499edfd7ec0d7f2363e7af4fe5126bead23 /dev-ros/image_view | |
parent | app-misc/cpipe: Add cpipe to the tree. (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-ros/image_view/files/dynrec.patch | 15 | ||||
-rw-r--r-- | dev-ros/image_view/image_view-1.12.15.ebuild | 1 | ||||
-rw-r--r-- | dev-ros/image_view/image_view-9999.ebuild | 1 |
3 files changed, 17 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) diff --git a/dev-ros/image_view/image_view-1.12.15.ebuild b/dev-ros/image_view/image_view-1.12.15.ebuild index 1f5b4dd7a9df..09ccaac9731b 100644 --- a/dev-ros/image_view/image_view-1.12.15.ebuild +++ b/dev-ros/image_view/image_view-1.12.15.ebuild @@ -30,3 +30,4 @@ RDEPEND=" dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/dynrec.patch" ) diff --git a/dev-ros/image_view/image_view-9999.ebuild b/dev-ros/image_view/image_view-9999.ebuild index 1f5b4dd7a9df..09ccaac9731b 100644 --- a/dev-ros/image_view/image_view-9999.ebuild +++ b/dev-ros/image_view/image_view-9999.ebuild @@ -30,3 +30,4 @@ RDEPEND=" dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/dynrec.patch" ) |