mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/valgrind to 3.10.0-1
This commit is contained in:
parent
eb26b3d69e
commit
533ae091d8
2 changed files with 14 additions and 14 deletions
|
@ -9,25 +9,25 @@
|
|||
noautobuild=1
|
||||
|
||||
pkgname=valgrind
|
||||
pkgver=3.9.0
|
||||
pkgrel=5
|
||||
pkgver=3.10.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.19' 'glibc<2.20' 'perl')
|
||||
depends=('glibc>=2.20' 'glibc<2.21' 'perl')
|
||||
makedepends=('gdb')
|
||||
options=('staticlibs' '!emptydirs')
|
||||
source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2
|
||||
alarm.patch
|
||||
valgrind-3.9.0-glibc-2.19.patch)
|
||||
sha1sums=('9415e28933de9d6687f993c4bb797e6bd49583f1'
|
||||
valgrind-3.9.0-glibc-2.29.patch)
|
||||
sha1sums=('aec0b8cd042ec36c8cce4f6027b98627ab202f26'
|
||||
'3669a2f6e8c34ad95d05ecc92fe7b2d6661edc76'
|
||||
'4653e994d2660490c51a97cc70e45a506e80bfab')
|
||||
'2080c3d44de20857f18b03a93404a8f3d3721f7e')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i "$srcdir"/valgrind-3.9.0-glibc-2.19.patch
|
||||
patch -p1 -i "$srcdir"/valgrind-3.9.0-glibc-2.20.patch
|
||||
[ "${CARCH}" = "arm" -o "${CARCH}" = "armv6h" ] && patch -Np1 -i ${srcdir}/alarm.patch
|
||||
}
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ diff -Naur valgrind-3.9.0-orig/configure valgrind-3.9.0/configure
|
|||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.19)
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5
|
||||
+$as_echo "2.19 family" >&6; }
|
||||
+ 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_19 1" >>confdefs.h
|
||||
+$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}"
|
||||
|
@ -25,9 +25,9 @@ diff -Naur valgrind-3.9.0-orig/configure.ac valgrind-3.9.0/configure.ac
|
|||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.19)
|
||||
+ AC_MSG_RESULT(2.19 family)
|
||||
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x])
|
||||
+ 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}"
|
Loading…
Reference in a new issue