summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2015-09-12 08:09:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:09:21 +0700
commitfaa970dbea8ab69f1fa1058028f72136967cb857 (patch)
treeb50790c8b662edc75dc88e24b23ee695648470c2 /development
parenta180790555936547011a60dc15beb35049cef61d (diff)
downloadslackbuilds-faa970dbea8ab69f1fa1058028f72136967cb857.tar.gz
development/valgrind: Updated for version 3.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/valgrind/configure.patch22
-rw-r--r--development/valgrind/valgrind.SlackBuild5
-rw-r--r--development/valgrind/valgrind.info6
3 files changed, 29 insertions, 4 deletions
diff --git a/development/valgrind/configure.patch b/development/valgrind/configure.patch
new file mode 100644
index 0000000000..0890cabed9
--- /dev/null
+++ b/development/valgrind/configure.patch
@@ -0,0 +1,22 @@
+diff --git a/configure b/configure
+index 78ddf3e..a730c3d 100755
+--- a/configure
++++ b/configure
+@@ -5553,7 +5553,7 @@ $as_echo_n "checking for the kernel version... " >&6; }
+ kernel=`uname -r`
+
+ case "${kernel}" in
+- 2.6.*|3.*)
++ 2.6.*|3.*|4.*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x family (${kernel})" >&5
+ $as_echo "2.6.x/3.x family (${kernel})" >&6; }
+
+@@ -6832,7 +6832,7 @@ $as_echo "#define GLIBC_2_19 1" >>confdefs.h
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
+- 2.20)
++ 2.2?)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.20 family" >&5
+ $as_echo "2.20 family" >&6; }
+
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild
index 511aef611d..069252eeb1 100644
--- a/development/valgrind/valgrind.SlackBuild
+++ b/development/valgrind/valgrind.SlackBuild
@@ -6,7 +6,7 @@
# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=valgrind
-VERSION=${VERSION:-3.10.0}
+VERSION=${VERSION:-3.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +52,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# For compatibility with -current; thanks to Gethyn ThomasQuail for the report.
+patch -p1 < $CWD/configure.patch || exit 1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/development/valgrind/valgrind.info b/development/valgrind/valgrind.info
index 8e555c1944..43122fff16 100644
--- a/development/valgrind/valgrind.info
+++ b/development/valgrind/valgrind.info
@@ -1,8 +1,8 @@
PRGNAM="valgrind"
-VERSION="3.10.0"
+VERSION="3.10.1"
HOMEPAGE="http://www.valgrind.org/"
-DOWNLOAD="http://www.valgrind.org/downloads/valgrind-3.10.0.tar.bz2"
-MD5SUM="7c311a72a20388aceced1aa5573ce970"
+DOWNLOAD="http://www.valgrind.org/downloads/valgrind-3.10.1.tar.bz2"
+MD5SUM="60ddae962bc79e7c95cfc4667245707f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""