summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJerry Lin2018-11-03 15:04:20 +0800
committerJerry Lin2018-11-03 15:04:20 +0800
commit71f4b1df81acf9417c92ddfd4ec3e4f2a195348b (patch)
treeb8b4f5454e4aefb59997e1c7283e6c6b39e10b5f /PKGBUILD
parent31ed41990e9c2c0baf3535a7126452ede0ecce07 (diff)
downloadaur-ros-indigo-cpp-common.tar.gz
Fix compile error due to undefined logError(). Update to 0.5.8-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1d14b5d6048..74253c5ff51 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
+# Maintainer: jerry73204 <jerry73204 at gmail dot com>
# Script generated with import_catkin_packages.py
# For more information: https://github.com/bchretien/arch-ros-stacks
pkgdesc="ROS - cpp_common contains C++ code for doing things that are not necessarily ROS related, but are useful for multiple packages."
url='http://www.ros.org/wiki/cpp_common'
pkgname='ros-indigo-cpp-common'
-pkgver='0.5.7'
+pkgver='0.5.8'
_pkgver_patch=0
arch=('any')
pkgrel=1
@@ -29,8 +30,18 @@ depends=(${ros_depends[@]}
# Tarball version (faster download)
_dir="roscpp_core-release-release-indigo-cpp_common-${pkgver}-${_pkgver_patch}"
-source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/roscpp_core-release/archive/release/indigo/cpp_common/${pkgver}-${_pkgver_patch}.tar.gz")
-sha256sums=('83a1bdfe7d1a3b768641b16d9c50e2e22c099708f72f49af982df46d4ba47680')
+source=(
+ "${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/roscpp_core-release/archive/release/indigo/cpp_common/${pkgver}-${_pkgver_patch}.tar.gz"
+ 'console_bridge_dep.patch'
+)
+sha256sums=('3747d00068ba03da4df78944abf0f55c28007d6a30c805884ec5fb01b16b418b'
+ 'a627969418dd0577059c984b3cb999a7ed1173394b1f26022be1c347fec84923')
+
+prepare () {
+ cd ${srcdir}/${_dir}
+ patch -Np1 -i ${srcdir}/console_bridge_dep.patch
+ # sed -i 's/logError/CONSOLE_BRIDGE_logError/g' ${srcdir}/${_dir}/src/header.cpp
+}
build() {
# Use ROS environment variables