summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-01-28 13:54:22 +0100
committerAlexis Ballier <aballier@gentoo.org>2018-01-28 13:54:35 +0100
commit06269fd80b4741e25287a1b4834f821aff8422b2 (patch)
treef9ed62e07a680b17c32cf815145498900ecc736d /dev-ros
parentdev-ros/gazebo_ros: backport upstream fixes to build with gazebo 9 (diff)
downloadgentoo-06269fd80b4741e25287a1b4834f821aff8422b2.tar.gz
gentoo-06269fd80b4741e25287a1b4834f821aff8422b2.tar.bz2
gentoo-06269fd80b4741e25287a1b4834f821aff8422b2.zip
dev-ros/gazebo_ros_control: backport upstream fixes to buidl with gazebo 9
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/gazebo_ros_control/Manifest1
-rw-r--r--dev-ros/gazebo_ros_control/gazebo_ros_control-2.7.3.ebuild11
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-ros/gazebo_ros_control/Manifest b/dev-ros/gazebo_ros_control/Manifest
index a0d2a406e418..607f672d3bf5 100644
--- a/dev-ros/gazebo_ros_control/Manifest
+++ b/dev-ros/gazebo_ros_control/Manifest
@@ -1,2 +1,3 @@
+DIST gazebo-ros-2.7.3-patches-1.tar.bz2 19057 BLAKE2B ee8040e7f25d734d31c32963d47601b908b153a55294e736e49d1a10ea14a9ed74133e547eb1abf5d50ee70814f6b3476433e835cc604798057cb9d5a698a3aa SHA512 12ec281277f83c7a267fc111ec029b732435f50f320c74255eeb8e8ea7b38aa8771d08c9815d6525b22b7f2fe706aae087a33591082cddbcf7a46742a35ae0fb
DIST gazebo_ros_pkgs-2.6.2.tar.gz 1830633 BLAKE2B 8365084619d57d8427753e33d4a3128162c44b10552166c7070eaabde3f806cee9981c60b30b18b6cbe80b83e2871b0100b51329a1a6bd9747320245f21ec1a4 SHA512 f932eebbc88f4922c0275625d50ad5723446744cbf4a59138437d9bdd75a9b5232fdf8df2012460313eb2224d4287daebc3a28181ab3f1b81e67d70a8b8ed5d3
DIST gazebo_ros_pkgs-2.7.3.tar.gz 1836260 BLAKE2B 7867bec1461769923ba36ea2e56b21d85cf1db254cd50a028af5953fe1b5373015b68785a90d242e245d12a2da2c7a8ff26db66c0c466e6a6e029fbb74340a06 SHA512 66590a248f0813ab0f2a80df234f9dd8d448c500726b62d3fc74397d3a618d6fae994c3e463bb0c4a8892cef35ba1729229c471f3d21d4b3a2091d5ad74cc33b
diff --git a/dev-ros/gazebo_ros_control/gazebo_ros_control-2.7.3.ebuild b/dev-ros/gazebo_ros_control/gazebo_ros_control-2.7.3.ebuild
index e824028e5285..0a2bc106d8c0 100644
--- a/dev-ros/gazebo_ros_control/gazebo_ros_control-2.7.3.ebuild
+++ b/dev-ros/gazebo_ros_control/gazebo_ros_control-2.7.3.ebuild
@@ -6,7 +6,7 @@ ROS_REPO_URI="https://github.com/ros-simulation/gazebo_ros_pkgs"
KEYWORDS="~amd64"
ROS_SUBDIR=${PN}
-inherit ros-catkin
+inherit ros-catkin eutils
DESCRIPTION="ROS control plugins for gazebo"
LICENSE="BSD"
@@ -31,3 +31,12 @@ RDEPEND="
dev-libs/console_bridge:=
"
DEPEND="${RDEPEND}"
+SRC_URI="${SRC_URI}
+ mirror://gentoo/gazebo-ros-2.7.3-patches-1.tar.bz2"
+
+src_prepare() {
+ pushd "${WORKDIR}/gazebo_ros_pkgs-${PV}" || die
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+ popd || die
+ ros-catkin_src_prepare
+}