Date: Thursday, August 6, 2015 @ 18:16:20 Author: anatolik Revision: 243089
archrelease: copy trunk to staging-i686, staging-x86_64 Added: valgrind/repos/staging-i686/ valgrind/repos/staging-i686/PKGBUILD (from rev 243088, valgrind/trunk/PKGBUILD) valgrind/repos/staging-i686/valgrind-glibc.patch (from rev 243088, valgrind/trunk/valgrind-glibc.patch) valgrind/repos/staging-i686/valgrind-kernel-version.patch (from rev 243088, valgrind/trunk/valgrind-kernel-version.patch) valgrind/repos/staging-x86_64/ valgrind/repos/staging-x86_64/PKGBUILD (from rev 243088, valgrind/trunk/PKGBUILD) valgrind/repos/staging-x86_64/valgrind-glibc.patch (from rev 243088, valgrind/trunk/valgrind-glibc.patch) valgrind/repos/staging-x86_64/valgrind-kernel-version.patch (from rev 243088, valgrind/trunk/valgrind-kernel-version.patch) ----------------------------------------------+ staging-i686/PKGBUILD | 38 +++++++++++++ staging-i686/valgrind-glibc.patch | 69 +++++++++++++++++++++++++ staging-i686/valgrind-kernel-version.patch | 47 +++++++++++++++++ staging-x86_64/PKGBUILD | 38 +++++++++++++ staging-x86_64/valgrind-glibc.patch | 69 +++++++++++++++++++++++++ staging-x86_64/valgrind-kernel-version.patch | 47 +++++++++++++++++ 6 files changed, 308 insertions(+) Copied: valgrind/repos/staging-i686/PKGBUILD (from rev 243088, valgrind/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Maintainer: Allan McRae <al...@archlinux.org> + +pkgname=valgrind +pkgver=3.10.1 +pkgrel=3 +pkgdesc='A tool to help find memory-management problems in programs' +arch=(i686 x86_64) +license=(GPL) +url='http://valgrind.org/' +depends=('glibc>=2.22' 'glibc<2.23' 'perl') +makedepends=('gdb' 'openmpi') +optdepends=('openmpi: MPI support') +options=('!emptydirs') +source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2 + valgrind-glibc.patch + valgrind-kernel-version.patch) +sha1sums=('15518427de842547ffa84eff8b2b67f3b16581a8' + '1fa127ef24630ad5f4901ea0e37ea2acb12d3d17' + '08b71e1ebc3e3906d0ff273db0aba2177a857c47') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i "$srcdir"/valgrind-glibc.patch + patch -p1 -i "$srcdir"/valgrind-kernel-version.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: valgrind/repos/staging-i686/valgrind-glibc.patch (from rev 243088, valgrind/trunk/valgrind-glibc.patch) =================================================================== --- staging-i686/valgrind-glibc.patch (rev 0) +++ staging-i686/valgrind-glibc.patch 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,69 @@ +From 8e520f21445e7c376c2606826affb20be92bfe8d Mon Sep 17 00:00:00 2001 +From: Anatol Pomozov <anatol.pomo...@gmail.com> +Date: Thu, 6 Aug 2015 09:04:44 -0700 +Subject: [PATCH 1/2] glibc + +--- + configure | 20 ++++++++++++++++++++ + configure.ac | 14 ++++++++++++++ + 2 files changed, 34 insertions(+) + +diff --git a/configure b/configure +index 78ddf3e..6ab06b3 100755 +--- a/configure ++++ b/configure +@@ -6842,6 +6842,26 @@ $as_echo "#define GLIBC_2_20 1" >>confdefs.h + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.21) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.21 family" >&5 ++$as_echo "2.21 family" >&6; } ++ ++$as_echo "#define GLIBC_2_21 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}" ++ ;; ++ 2.22) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.22 family" >&5 ++$as_echo "2.22 family" >&6; } ++ ++$as_echo "#define GLIBC_2_22 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 --git a/configure.ac b/configure.ac +index 0fd2a41..7f389c2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1018,6 +1018,20 @@ case "${GLIBC_VERSION}" in + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.21) ++ AC_MSG_RESULT(2.21 family) ++ AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.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}" ++ ;; ++ 2.22) ++ AC_MSG_RESULT(2.22 family) ++ AC_DEFINE([GLIBC_2_22], 1, [Define to 1 if you're using glibc 2.22.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]) +-- +2.5.0 + Copied: valgrind/repos/staging-i686/valgrind-kernel-version.patch (from rev 243088, valgrind/trunk/valgrind-kernel-version.patch) =================================================================== --- staging-i686/valgrind-kernel-version.patch (rev 0) +++ staging-i686/valgrind-kernel-version.patch 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,47 @@ +From 88d02c44361bf4d9b354eea7e20559a4a57b866f Mon Sep 17 00:00:00 2001 +From: Anatol Pomozov <anatol.pomo...@gmail.com> +Date: Thu, 6 Aug 2015 09:06:25 -0700 +Subject: [PATCH 2/2] kernel + +--- + configure | 6 +++--- + configure.ac | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/configure b/configure +index 6ab06b3..a59ef12 100755 +--- a/configure ++++ b/configure +@@ -5553,9 +5553,9 @@ $as_echo_n "checking for the kernel version... " >&6; } + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) +- { $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; } ++ 2.6.*|3.*|4.*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x/4.x family (${kernel})" >&5 ++$as_echo "2.6.x/3.x/4.x family (${kernel})" >&6; } + + $as_echo "#define KERNEL_2_6 1" >>confdefs.h + +diff --git a/configure.ac b/configure.ac +index 7f389c2..b0bb449 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -303,9 +303,9 @@ case "${host_os}" in + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) +- AC_MSG_RESULT([2.6.x/3.x family (${kernel})]) +- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x]) ++ 2.6.*|3.*|4.*) ++ AC_MSG_RESULT([2.6.x/3.x/4.x family (${kernel})]) ++ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x or Linux 4.x]) + ;; + + 2.4.*) +-- +2.5.0 + Copied: valgrind/repos/staging-x86_64/PKGBUILD (from rev 243088, valgrind/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Maintainer: Allan McRae <al...@archlinux.org> + +pkgname=valgrind +pkgver=3.10.1 +pkgrel=3 +pkgdesc='A tool to help find memory-management problems in programs' +arch=(i686 x86_64) +license=(GPL) +url='http://valgrind.org/' +depends=('glibc>=2.22' 'glibc<2.23' 'perl') +makedepends=('gdb' 'openmpi') +optdepends=('openmpi: MPI support') +options=('!emptydirs') +source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2 + valgrind-glibc.patch + valgrind-kernel-version.patch) +sha1sums=('15518427de842547ffa84eff8b2b67f3b16581a8' + '1fa127ef24630ad5f4901ea0e37ea2acb12d3d17' + '08b71e1ebc3e3906d0ff273db0aba2177a857c47') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i "$srcdir"/valgrind-glibc.patch + patch -p1 -i "$srcdir"/valgrind-kernel-version.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --with-mpicc=mpicc + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: valgrind/repos/staging-x86_64/valgrind-glibc.patch (from rev 243088, valgrind/trunk/valgrind-glibc.patch) =================================================================== --- staging-x86_64/valgrind-glibc.patch (rev 0) +++ staging-x86_64/valgrind-glibc.patch 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,69 @@ +From 8e520f21445e7c376c2606826affb20be92bfe8d Mon Sep 17 00:00:00 2001 +From: Anatol Pomozov <anatol.pomo...@gmail.com> +Date: Thu, 6 Aug 2015 09:04:44 -0700 +Subject: [PATCH 1/2] glibc + +--- + configure | 20 ++++++++++++++++++++ + configure.ac | 14 ++++++++++++++ + 2 files changed, 34 insertions(+) + +diff --git a/configure b/configure +index 78ddf3e..6ab06b3 100755 +--- a/configure ++++ b/configure +@@ -6842,6 +6842,26 @@ $as_echo "#define GLIBC_2_20 1" >>confdefs.h + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.21) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.21 family" >&5 ++$as_echo "2.21 family" >&6; } ++ ++$as_echo "#define GLIBC_2_21 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}" ++ ;; ++ 2.22) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.22 family" >&5 ++$as_echo "2.22 family" >&6; } ++ ++$as_echo "#define GLIBC_2_22 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 --git a/configure.ac b/configure.ac +index 0fd2a41..7f389c2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1018,6 +1018,20 @@ case "${GLIBC_VERSION}" in + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.21) ++ AC_MSG_RESULT(2.21 family) ++ AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.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}" ++ ;; ++ 2.22) ++ AC_MSG_RESULT(2.22 family) ++ AC_DEFINE([GLIBC_2_22], 1, [Define to 1 if you're using glibc 2.22.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]) +-- +2.5.0 + Copied: valgrind/repos/staging-x86_64/valgrind-kernel-version.patch (from rev 243088, valgrind/trunk/valgrind-kernel-version.patch) =================================================================== --- staging-x86_64/valgrind-kernel-version.patch (rev 0) +++ staging-x86_64/valgrind-kernel-version.patch 2015-08-06 16:16:20 UTC (rev 243089) @@ -0,0 +1,47 @@ +From 88d02c44361bf4d9b354eea7e20559a4a57b866f Mon Sep 17 00:00:00 2001 +From: Anatol Pomozov <anatol.pomo...@gmail.com> +Date: Thu, 6 Aug 2015 09:06:25 -0700 +Subject: [PATCH 2/2] kernel + +--- + configure | 6 +++--- + configure.ac | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/configure b/configure +index 6ab06b3..a59ef12 100755 +--- a/configure ++++ b/configure +@@ -5553,9 +5553,9 @@ $as_echo_n "checking for the kernel version... " >&6; } + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) +- { $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; } ++ 2.6.*|3.*|4.*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x/4.x family (${kernel})" >&5 ++$as_echo "2.6.x/3.x/4.x family (${kernel})" >&6; } + + $as_echo "#define KERNEL_2_6 1" >>confdefs.h + +diff --git a/configure.ac b/configure.ac +index 7f389c2..b0bb449 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -303,9 +303,9 @@ case "${host_os}" in + kernel=`uname -r` + + case "${kernel}" in +- 2.6.*|3.*) +- AC_MSG_RESULT([2.6.x/3.x family (${kernel})]) +- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x]) ++ 2.6.*|3.*|4.*) ++ AC_MSG_RESULT([2.6.x/3.x/4.x family (${kernel})]) ++ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x or Linux 4.x]) + ;; + + 2.4.*) +-- +2.5.0 +