diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-20 21:57:22 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-20 21:57:22 (GMT) |
commit | 08d71ca9e0630698631ad5ccef68356f9a7f94cf (patch) | |
tree | 834650bfc17dd939145aa479079610828153a615 /abs/extra/valgrind | |
parent | a52a3c1ea63adcb1821c7c544f21518578157397 (diff) | |
download | linhes_pkgbuild-08d71ca9e0630698631ad5ccef68356f9a7f94cf.zip linhes_pkgbuild-08d71ca9e0630698631ad5ccef68356f9a7f94cf.tar.gz linhes_pkgbuild-08d71ca9e0630698631ad5ccef68356f9a7f94cf.tar.bz2 |
valgrind: update to 3.11.0
Diffstat (limited to 'abs/extra/valgrind')
-rw-r--r-- | abs/extra/valgrind/PKGBUILD | 20 | ||||
-rw-r--r-- | abs/extra/valgrind/valgrind-3.9.0-glibc-2.20.patch | 37 |
2 files changed, 7 insertions, 50 deletions
diff --git a/abs/extra/valgrind/PKGBUILD b/abs/extra/valgrind/PKGBUILD index 61c9997..d23ba4e 100644 --- a/abs/extra/valgrind/PKGBUILD +++ b/abs/extra/valgrind/PKGBUILD @@ -3,25 +3,19 @@ # Maintainer: Allan McRae <allan@archlinux.org> pkgname=valgrind -pkgver=3.10.0 +pkgver=3.11.0 pkgrel=1 pkgdesc='A tool to help find memory-management problems in programs' arch=(i686 x86_64) license=(GPL) url='http://valgrind.org/' -depends=('glibc>=2.20' 'glibc<2.21' 'perl') -makedepends=('gdb' 'openmpi') +depends=('glibc>=2.22' 'glibc<2.23' 'perl') +makedepends=(gdb openmpi) optdepends=('openmpi: MPI support') -options=('staticlibs' '!emptydirs') -source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2 - valgrind-3.9.0-glibc-2.20.patch) -sha1sums=('aec0b8cd042ec36c8cce4f6027b98627ab202f26' - '2080c3d44de20857f18b03a93404a8f3d3721f7e') - -prepare() { - cd $pkgname-$pkgver - patch -p1 -i "$srcdir"/valgrind-3.9.0-glibc-2.20.patch -} +# valgrind does not like stack protector flags +options=(!emptydirs !buildflags) +source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2) +sha1sums=('340757e91d9e83591158fe8bb985c6b11bc53de5') build() { cd $pkgname-$pkgver diff --git a/abs/extra/valgrind/valgrind-3.9.0-glibc-2.20.patch b/abs/extra/valgrind/valgrind-3.9.0-glibc-2.20.patch deleted file mode 100644 index d9c622e..0000000 --- a/abs/extra/valgrind/valgrind-3.9.0-glibc-2.20.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -Naur valgrind-3.9.0-orig/configure valgrind-3.9.0/configure ---- valgrind-3.9.0-orig/configure 2013-11-01 09:33:32.000000000 +1000 -+++ valgrind-3.9.0/configure 2014-02-08 09:28:06.063248544 +1000 -@@ -6689,6 +6689,16 @@ - DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" - DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" - ;; -+ 2.20) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.20 family" >&5 -+$as_echo "2.20 family" >&6; } -+ -+$as_echo "#define GLIBC_2_20 1" >>confdefs.h -+ -+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" -+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" -+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" -+ ;; - darwin) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5 - $as_echo "Darwin" >&6; } -diff -Naur valgrind-3.9.0-orig/configure.ac valgrind-3.9.0/configure.ac ---- valgrind-3.9.0-orig/configure.ac 2013-11-01 09:28:16.000000000 +1000 -+++ valgrind-3.9.0/configure.ac 2014-02-08 09:27:38.870385366 +1000 -@@ -918,6 +918,13 @@ - DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" - DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" - ;; -+ 2.20) -+ AC_MSG_RESULT(2.20 family) -+ AC_DEFINE([GLIBC_2_20], 1, [Define to 1 if you're using glibc 2.20.x]) -+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" -+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" -+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" -+ ;; - darwin) - AC_MSG_RESULT(Darwin) - AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) |