summaryrefslogtreecommitdiff
path: root/package/valgrind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-12 00:43:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-12 00:43:43 +0100
commit965bf8becf63a12169cd964973e3a56fd96e21fe (patch)
tree5c9459da5196712c9153304804a1b44510b6e00b /package/valgrind
parent070cac9d32fa7a0f7f4d52eddec901d248cdfae3 (diff)
a bunch of FreeBSD compatibility patches
Diffstat (limited to 'package/valgrind')
-rw-r--r--package/valgrind/Makefile2
-rw-r--r--package/valgrind/patches/patch-configure11
2 files changed, 11 insertions, 2 deletions
diff --git a/package/valgrind/Makefile b/package/valgrind/Makefile
index 7c87147ed..bb8ae3b07 100644
--- a/package/valgrind/Makefile
+++ b/package/valgrind/Makefile
@@ -29,7 +29,7 @@ post-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
$(CP) $(WRKINST)/usr/lib/valgrind/${ARCH}-linux/* \
$(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
- rm $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux/*.a
+ -rm $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux/*.a
touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/valgrind/patches/patch-configure b/package/valgrind/patches/patch-configure
index 07bea76d5..c49444d12 100644
--- a/package/valgrind/patches/patch-configure
+++ b/package/valgrind/patches/patch-configure
@@ -1,6 +1,15 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- valgrind-3.3.1.orig/configure 2008-06-01 03:44:42.000000000 +0200
-+++ valgrind-3.3.1/configure 2009-06-02 01:32:59.000000000 +0200
++++ valgrind-3.3.1/configure 2009-12-12 00:28:43.000000000 +0100
+@@ -4129,7 +4129,7 @@ echo "${ECHO_T}ok (${host_os})" >&6
+ echo "$as_me:$LINENO: checking for the kernel version" >&5
+ echo $ECHO_N "checking for the kernel version... $ECHO_C" >&6
+
+- kernel=`uname -r`
++ kernel=2.6.32
+
+ case "${kernel}" in
+ 2.6.*)
@@ -4637,6 +4637,27 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
fi
rm -f conftest*