aboutsummaryrefslogtreecommitdiffstats
path: root/main/valgrind
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-15 15:35:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-15 15:37:31 +0000
commit46b0b8a55ba0053b15355f4f5f2f0e25221c5d04 (patch)
treed2fb5115afcdf5377293fe2c0dcdd469eb00cf0f /main/valgrind
parent1b10a8d0ea1c5603c1621f26b6d2c0c8312bc1c9 (diff)
downloadaports-46b0b8a55ba0053b15355f4f5f2f0e25221c5d04.tar.bz2
aports-46b0b8a55ba0053b15355f4f5f2f0e25221c5d04.tar.xz
main/valgrind: fix for uclibc
fixes the error: symbol '__libc_freeres': can't resolve symbol
Diffstat (limited to 'main/valgrind')
-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