summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/valgrind/files/makefile_fix.patch20
-rw-r--r--meta/packages/valgrind/valgrind/configurefix.patch16
-rw-r--r--meta/packages/valgrind/valgrind_3.5.0.bb (renamed from meta/packages/valgrind/valgrind_3.3.0.bb)7
3 files changed, 20 insertions, 23 deletions
diff --git a/meta/packages/valgrind/files/makefile_fix.patch b/meta/packages/valgrind/files/makefile_fix.patch
deleted file mode 100644
index 1a7bb4895a..0000000000
--- a/meta/packages/valgrind/files/makefile_fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1 VEX/Makefile | 4 ++--
2 1 file changed, 2 insertions(+), 2 deletions(-)
3
4Index: valgrind-3.2.1/VEX/Makefile
5===================================================================
6--- valgrind-3.2.1.orig/VEX/Makefile 2006-08-28 14:39:42.000000000 +0100
7+++ valgrind-3.2.1/VEX/Makefile 2006-11-29 13:52:36.000000000 +0000
8@@ -64,10 +64,10 @@ PUB_INCLUDES = -Ipub
9 PRIV_INCLUDES = -Ipriv
10
11
12-ifndef $(CC)
13+ifndef CC
14 CC = gcc
15 endif
16-ifndef $(AR)
17+ifndef AR
18 AR = ar
19 endif
20
diff --git a/meta/packages/valgrind/valgrind/configurefix.patch b/meta/packages/valgrind/valgrind/configurefix.patch
new file mode 100644
index 0000000000..f2e1442980
--- /dev/null
+++ b/meta/packages/valgrind/valgrind/configurefix.patch
@@ -0,0 +1,16 @@
1Index: valgrind-3.5.0/configure.in
2===================================================================
3--- valgrind-3.5.0.orig/configure.in 2009-09-03 23:38:46.000000000 +0100
4+++ valgrind-3.5.0/configure.in 2009-09-03 23:39:03.000000000 +0100
5@@ -1472,10 +1472,8 @@
6 #----------------------------------------------------------------------------
7 # Check for /proc filesystem
8 #----------------------------------------------------------------------------
9-AC_CHECK_FILES(/proc/self/fd /proc/self/exe /proc/self/maps,
10- [ AC_DEFINE([HAVE_PROC], 1, [can use /proc filesystem]) ],
11- [])
12
13+AC_DEFINE([HAVE_PROC], 1, [can use /proc filesystem])
14
15 #----------------------------------------------------------------------------
16 # Checks for C header files.
diff --git a/meta/packages/valgrind/valgrind_3.3.0.bb b/meta/packages/valgrind/valgrind_3.5.0.bb
index fc4b084c86..fece8ea0e8 100644
--- a/meta/packages/valgrind/valgrind_3.3.0.bb
+++ b/meta/packages/valgrind/valgrind_3.5.0.bb
@@ -2,15 +2,16 @@ DESCRIPTION = "Valgrind memory debugger"
2DEPENDS = "virtual/libx11" 2DEPENDS = "virtual/libx11"
3HOMEPAGE = "http://www.valgrind.org/" 3HOMEPAGE = "http://www.valgrind.org/"
4LICENSE = "GPL" 4LICENSE = "GPL"
5PR = "r1" 5PR = "r2"
6 6
7SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 " 7SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
8 file://configurefix.patch;patch=1 "
8 9
9S = "${WORKDIR}/valgrind-${PV}" 10S = "${WORKDIR}/valgrind-${PV}"
10 11
11COMPATIBLE_HOST = 'i.86.*-linux' 12COMPATIBLE_HOST = 'i.86.*-linux'
12 13
13inherit autotools 14inherit autotools_stage
14 15
15EXTRA_OECONF = "--enable-tls" 16EXTRA_OECONF = "--enable-tls"
16 17