From 0ac75f038e3991d3e2f2fa773aad3b32413d09cf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 17 Mar 2014 14:39:12 +0100 Subject: fix Darwin cross-build --- package/valgrind/patches/patch-configure_ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package/valgrind/patches/patch-configure_ac') 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") -- cgit v1.2.3