aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/valgrind/APKBUILD6
-rw-r--r--main/valgrind/uclibc.patch10
2 files changed, 14 insertions, 2 deletions
diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD
index 31b5db4029..f1895dbe4e 100644
--- a/main/valgrind/APKBUILD
+++ b/main/valgrind/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=valgrind
pkgver=3.7.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool to help find memory-management problems in programs"
url="http://valgrind.org/"
arch="all"
@@ -17,6 +17,7 @@ makedepends="sed paxctl pax-utils perl bash"
options="!strip"
subpackages="$pkgname-dev $pkgname-doc"
source="http://$pkgname.org/downloads/$pkgname-$pkgver.tar.bz2
+ uclibc.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -60,4 +61,5 @@ package() {
fi
}
-md5sums="a855fda56edf05614f099dca316d1775 valgrind-3.7.0.tar.bz2"
+md5sums="a855fda56edf05614f099dca316d1775 valgrind-3.7.0.tar.bz2
+c29b4572a070eb0d3a6a977be586c771 uclibc.patch"
diff --git a/main/valgrind/uclibc.patch b/main/valgrind/uclibc.patch
new file mode 100644
index 0000000000..69281ab2cb
--- /dev/null
+++ b/main/valgrind/uclibc.patch
@@ -0,0 +1,10 @@
+--- ./coregrind/vg_preloaded.c.orig
++++ ./coregrind/vg_preloaded.c
+@@ -42,6 +42,7 @@
+ originates from Valgrind.
+ ------------------------------------------------------------------ */
+
++#include <features.h>
+ #include "pub_core_basics.h"
+ #include "pub_core_clreq.h"
+ #include "pub_core_debuginfo.h" // Needed for pub_core_redir.h