summaryrefslogtreecommitdiff
path: root/package/valgrind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-14 21:30:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-14 21:30:37 +0100
commit57d44e3bc19390598a3a3cd8368d29344975f1f7 (patch)
tree73a2cf496f357b66ab2d510973b158766b440f8c /package/valgrind
parent8f2b3b1ede5e537724594f36bbdd22f878708055 (diff)
allow cross-compile on Darwin, remove broken rpm package (unused).
Diffstat (limited to 'package/valgrind')
-rw-r--r--package/valgrind/Makefile1
-rw-r--r--package/valgrind/patches/patch-configure11
-rw-r--r--package/valgrind/patches/patch-configure.orig11
3 files changed, 22 insertions, 1 deletions
diff --git a/package/valgrind/Makefile b/package/valgrind/Makefile
index 5940b1afe..d156b0bee 100644
--- a/package/valgrind/Makefile
+++ b/package/valgrind/Makefile
@@ -13,7 +13,6 @@ PKG_URL:= http://valgrind.org/
PKG_SITES:= http://valgrind.org/downloads/
PKG_ARCH_DEPENDS:= x86 x86_64 native
-PKG_HOST_DEPENDS:= !darwin
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
diff --git a/package/valgrind/patches/patch-configure b/package/valgrind/patches/patch-configure
new file mode 100644
index 000000000..e4d957a21
--- /dev/null
+++ b/package/valgrind/patches/patch-configure
@@ -0,0 +1,11 @@
+--- valgrind-3.6.0.orig/configure 2010-10-21 03:16:18.000000000 +0200
++++ valgrind-3.6.0/configure 2011-02-14 17:26:48.000000000 +0100
+@@ -5345,7 +5345,7 @@ $as_echo "ok (${host_os})" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel version" >&5
+ $as_echo_n "checking for the kernel version... " >&6; }
+
+- kernel=`uname -r`
++ kernel=2.6.37
+
+ case "${kernel}" in
+ 2.6.*)
diff --git a/package/valgrind/patches/patch-configure.orig b/package/valgrind/patches/patch-configure.orig
new file mode 100644
index 000000000..adfc3a89c
--- /dev/null
+++ b/package/valgrind/patches/patch-configure.orig
@@ -0,0 +1,11 @@
+--- valgrind-3.6.0.orig/configure 2010-10-21 03:16:18.000000000 +0200
++++ valgrind-3.6.0/configure 2011-02-14 17:25:41.000000000 +0100
+@@ -5345,7 +5345,7 @@ $as_echo "ok (${host_os})" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel version" >&5
+ $as_echo_n "checking for the kernel version... " >&6; }
+
+- kernel=`uname -r`
++ kernel=2.6
+
+ case "${kernel}" in
+ 2.6.*)