summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-30 17:24:59 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-30 17:24:59 +0000
commit6661806a5e2d0c30237097b8686e6d8da9ed42ff (patch)
treee69915c13741bb9cf86b8bc60d7d591115e8da19 /meta
parent0ad571dde5df281c1b137c20c802fe43199e22ba (diff)
downloadpoky-6661806a5e2d0c30237097b8686e6d8da9ed42ff.tar.gz
rpm: Disable dwarfdebug
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/rpm/files/disabledwarf.patch21
-rw-r--r--meta/packages/rpm/rpm_4.4.2.3.bb5
2 files changed, 24 insertions, 2 deletions
diff --git a/meta/packages/rpm/files/disabledwarf.patch b/meta/packages/rpm/files/disabledwarf.patch
new file mode 100644
index 0000000000..6f09cc5965
--- /dev/null
+++ b/meta/packages/rpm/files/disabledwarf.patch
@@ -0,0 +1,21 @@
1Index: rpm-4.4.2.3/configure.ac
2===================================================================
3--- rpm-4.4.2.3.orig/configure.ac 2009-11-30 17:23:22.000000000 +0000
4+++ rpm-4.4.2.3/configure.ac 2009-11-30 17:23:52.000000000 +0000
5@@ -448,16 +448,6 @@
6
7 WITH_LIBDWARF_INCLUDE=
8 WITH_LIBDWARF_DEBUGEDIT=
9-AC_CHECK_HEADER([dwarf.h], [
10- AC_DEFINE(HAVE_DWARF_H, 1, [Define to 1 if you have the <dwarf.h> header file.])
11- WITH_LIBDWARF_DEBUGEDIT="debugedit"
12-],[
13- if test -d elfutils/libdwarf ; then
14- AC_DEFINE(HAVE_DWARF_H, 1, [Define to 1 if you have the <dwarf.h> header file.])
15- WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libdwarf"
16- WITH_LIBDWARF_DEBUGEDIT="debugedit"
17- fi
18-])
19 AC_SUBST(WITH_LIBDWARF_INCLUDE)
20 AC_SUBST(WITH_LIBDWARF_DEBUGEDIT)
21
diff --git a/meta/packages/rpm/rpm_4.4.2.3.bb b/meta/packages/rpm/rpm_4.4.2.3.bb
index b526c1bcdf..5f1128497a 100644
--- a/meta/packages/rpm/rpm_4.4.2.3.bb
+++ b/meta/packages/rpm/rpm_4.4.2.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager."
2HOMEPAGE = "http://rpm.org/" 2HOMEPAGE = "http://rpm.org/"
3LICENSE = "LGPL GPL" 3LICENSE = "LGPL GPL"
4DEPENDS = "zlib beecrypt file popt python" 4DEPENDS = "zlib beecrypt file popt python"
5PR = "r12" 5PR = "r14"
6 6
7SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \ 7SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
8 file://external-tools.patch;patch=1 \ 8 file://external-tools.patch;patch=1 \
@@ -10,7 +10,8 @@ SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
10 file://weakdeps.patch;patch=1;pnum=0 \ 10 file://weakdeps.patch;patch=1;pnum=0 \
11 file://tagsbackport.patch;patch=1;pnum=0 \ 11 file://tagsbackport.patch;patch=1;pnum=0 \
12 file://missingok.patch;patch=1;pnum=0 \ 12 file://missingok.patch;patch=1;pnum=0 \
13 file://extcond.patch;patch=1;pnum=0" 13 file://extcond.patch;patch=1;pnum=0 \
14 file://disabledwarf.patch;patch=1"
14 15
15inherit autotools gettext 16inherit autotools gettext
16 17