aboutsummaryrefslogtreecommitdiff
path: root/development/valgrind/valgrind.SlackBuild
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2010-03-25 23:35:53 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 14:46:26 +0200
commit596836f66457ce23f77b952764ca3f4bdf9d2858 (patch)
tree3ba85ec30b3abc3dea2defbccc9d3a9087aaad5e /development/valgrind/valgrind.SlackBuild
parent5c2d556a3b2e9732c6a1700ba22bb7a8c22aa4bb (diff)
development/valgrind: Added patch for newer glibc versions.
Diffstat (limited to 'development/valgrind/valgrind.SlackBuild')
-rw-r--r--development/valgrind/valgrind.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild
index 429f511e9462..0af1d6911e3f 100644
--- a/development/valgrind/valgrind.SlackBuild
+++ b/development/valgrind/valgrind.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=valgrind
VERSION=3.5.0
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -35,6 +35,10 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# For compatibility with -current; thanks to Arne Welzel for the report.
+patch -p0 < $CWD/valgrind-3.5.0-glibc-2.11.patch || exit 1
+autoconf || exit 1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -42,6 +46,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
|| exit 1
make || exit 1