summaryrefslogtreecommitdiff
path: root/package/valgrind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:39:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:39:12 +0100
commit0ac75f038e3991d3e2f2fa773aad3b32413d09cf (patch)
tree4f0a259b677fb9a9c7eaacca116df6cf9ee55075 /package/valgrind
parent521eddfc1e29218e26e3080c095a519ea3f8156d (diff)
fix Darwin cross-build
Diffstat (limited to 'package/valgrind')
-rw-r--r--package/valgrind/Makefile2
-rw-r--r--package/valgrind/patches/patch-configure_ac11
2 files changed, 11 insertions, 2 deletions
diff --git a/package/valgrind/Makefile b/package/valgrind/Makefile
index 025db9dac..9c78dc20c 100644
--- a/package/valgrind/Makefile
+++ b/package/valgrind/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= valgrind
PKG_VERSION:= 3.9.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 0947de8112f946b9ce64764af7be6df2
PKG_DESCR:= memory management debugging
PKG_SECTION:= debug
diff --git a/package/valgrind/patches/patch-configure_ac b/package/valgrind/patches/patch-configure_ac
index 844275cca..cc7286c90 100644
--- a/package/valgrind/patches/patch-configure_ac
+++ b/package/valgrind/patches/patch-configure_ac
@@ -1,5 +1,5 @@
--- valgrind-3.9.0.orig/configure.ac 2013-11-01 00:28:16.000000000 +0100
-+++ valgrind-3.9.0/configure.ac 2013-11-07 17:26:16.000000000 +0100
++++ valgrind-3.9.0/configure.ac 2014-03-17 14:18:45.000000000 +0100
@@ -155,6 +155,7 @@ esac
# configure-time, and distinguishes them from the VGA_*/VGO_*/VGP_*
# variables used when compiling C files.
@@ -36,6 +36,15 @@
#----------------------------------------------------------------------------
# Sometimes it's convenient to subvert the bi-arch build system and
+@@ -273,7 +286,7 @@ case "${host_os}" in
+ # Ok, this is linux. Check the kernel version
+ AC_MSG_CHECKING([for the kernel version])
+
+- kernel=`uname -r`
++ kernel=3.13
+
+ case "${kernel}" in
+ 2.6.*|3.*)
@@ -792,6 +805,15 @@ AC_EGREP_CPP([BIONIC_LIBC], [
],
GLIBC_VERSION="bionic")