aboutsummaryrefslogtreecommitdiff
path: root/development/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'development/valgrind')
-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 0000000000000..0890cabed9505
--- /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 511aef611da4b..069252eeb1710 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 8e555c19446e5..43122fff16b03 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=""