From fc5b38e7099251ddeaef0b608eae63889657e802 Mon Sep 17 00:00:00 2001 From: Qing He Date: Tue, 11 Jan 2011 16:39:09 +0800 Subject: rpm: suggested change Signed-off-by: Qing He --- .../rpm/rpm/header-include-fix.patch | 24 ++++++++++++++++++++++ meta/recipes-devtools/rpm/rpm_5.4.0.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta/recipes-devtools/rpm/rpm/header-include-fix.patch (limited to 'meta/recipes-devtools/rpm') diff --git a/meta/recipes-devtools/rpm/rpm/header-include-fix.patch b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch new file mode 100644 index 0000000000..92c534e582 --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch @@ -0,0 +1,24 @@ +diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h +index 0e1bdd7..8b522bb 100644 +--- a/rpmdb/rpmdb.h ++++ b/rpmdb/rpmdb.h +@@ -9,6 +9,7 @@ + + #include + #include ++#include + + #include + #include /* XXX Header typedef */ +diff --git a/rpmdb/rpmtag.h b/rpmdb/rpmtag.h +index 8af6480..2166b4c 100644 +--- a/rpmdb/rpmtag.h ++++ b/rpmdb/rpmtag.h +@@ -7,6 +7,7 @@ + + #include + #include ++#include + + #ifdef __cplusplus + extern "C" { diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb index 541fb6078b..0f3425f794 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb @@ -52,6 +52,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.0-0.20101229.src.rpm \ file://perfile_rpmdeps.sh \ file://rpm-autogen.patch \ file://rpm-libsql-fix.patch \ + file://header-include-fix.patch \ " # file://hdraddorappend.patch \ -- cgit v1.2.3-54-g00ecf