summaryrefslogtreecommitdiffstats
path: root/meta/packages/rpm/files/disabledwarf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/rpm/files/disabledwarf.patch')
-rw-r--r--meta/packages/rpm/files/disabledwarf.patch21
1 files changed, 21 insertions, 0 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