mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-ros/rosbash: fix patch
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Index: rosbash/scripts/rosrun
|
||||
===================================================================
|
||||
--- rosbash.orig/scripts/rosrun
|
||||
+++ rosbash/scripts/rosrun
|
||||
@@ -47,7 +47,7 @@ case $2 in
|
||||
;;
|
||||
esac
|
||||
|
||||
-if [[ -n $CMAKE_PREFIX_PATH ]]; then
|
||||
+if [[ -n $CMAKE_PREFIX_PATH || -n $CATKIN_PREFIX_PATH ]]; then
|
||||
_rosrun_IFS="$IFS"
|
||||
IFS=$'\n'
|
||||
catkin_package_libexec_dirs=($(catkin_find --without-underlays --libexec --share "$1" 2> /dev/null))
|
||||
@@ -16,4 +16,4 @@ IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix2.patch" )
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix.patch" )
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
@@ -16,4 +16,4 @@ IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix2.patch" )
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix.patch" )
|
||||
|
||||
Reference in New Issue
Block a user