diff options
| author | Qing He <qing.he@intel.com> | 2011-01-11 16:39:09 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-28 17:52:56 +0000 |
| commit | fc5b38e7099251ddeaef0b608eae63889657e802 (patch) | |
| tree | f32b9585e301ac9efcdbc1610d456a72c11f9d1a | |
| parent | e7fb63bf6b308273f5e3941706522d9b9525b2e7 (diff) | |
| download | poky-fc5b38e7099251ddeaef0b608eae63889657e802.tar.gz | |
rpm: suggested change
Signed-off-by: Qing He <qing.he@intel.com>
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm/header-include-fix.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.0.bb | 1 |
2 files changed, 25 insertions, 0 deletions
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 @@ | |||
| 1 | diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h | ||
| 2 | index 0e1bdd7..8b522bb 100644 | ||
| 3 | --- a/rpmdb/rpmdb.h | ||
| 4 | +++ b/rpmdb/rpmdb.h | ||
| 5 | @@ -9,6 +9,7 @@ | ||
| 6 | |||
| 7 | #include <assert.h> | ||
| 8 | #include <mire.h> | ||
| 9 | +#include <errno.h> | ||
| 10 | |||
| 11 | #include <rpmtypes.h> | ||
| 12 | #include <rpmtag.h> /* XXX Header typedef */ | ||
| 13 | diff --git a/rpmdb/rpmtag.h b/rpmdb/rpmtag.h | ||
| 14 | index 8af6480..2166b4c 100644 | ||
| 15 | --- a/rpmdb/rpmtag.h | ||
| 16 | +++ b/rpmdb/rpmtag.h | ||
| 17 | @@ -7,6 +7,7 @@ | ||
| 18 | |||
| 19 | #include <rpmiotypes.h> | ||
| 20 | #include <rpmsw.h> | ||
| 21 | +#include <stdint.h> | ||
| 22 | |||
| 23 | #ifdef __cplusplus | ||
| 24 | 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 \ | |||
| 52 | file://perfile_rpmdeps.sh \ | 52 | file://perfile_rpmdeps.sh \ |
| 53 | file://rpm-autogen.patch \ | 53 | file://rpm-autogen.patch \ |
| 54 | file://rpm-libsql-fix.patch \ | 54 | file://rpm-libsql-fix.patch \ |
| 55 | file://header-include-fix.patch \ | ||
| 55 | " | 56 | " |
| 56 | 57 | ||
| 57 | # file://hdraddorappend.patch \ | 58 | # file://hdraddorappend.patch \ |
