]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm: suggested change
authorQing He <qing.he@intel.com>
Tue, 11 Jan 2011 08:39:09 +0000 (16:39 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jan 2011 17:52:56 +0000 (17:52 +0000)
Signed-off-by: Qing He <qing.he@intel.com>
meta/recipes-devtools/rpm/rpm/header-include-fix.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4.0.bb

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 (file)
index 0000000..92c534e
--- /dev/null
@@ -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 <assert.h>
+ #include <mire.h>
++#include <errno.h>
+ #include <rpmtypes.h>
+ #include <rpmtag.h>   /* 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 <rpmiotypes.h>
+ #include <rpmsw.h>
++#include <stdint.h>
+ #ifdef __cplusplus
+ extern "C" {
index 541fb6078bcd1101e6a306384518276ec093e4ac..0f3425f794e6d20ec7f18397a097726379a38fbb 100644 (file)
@@ -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 \