diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/header-include-fix.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/header-include-fix.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/header-include-fix.patch b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch deleted file mode 100644 index e72df45b5a..0000000000 --- a/meta/recipes-devtools/rpm/rpm/header-include-fix.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | Update two rpm headers to include other headers. | ||
2 | |||
3 | Using rpmdb.h w/o including errno.h may result in a warning. | ||
4 | |||
5 | Using rpmtag.h w/o also adding stdint.h will result in numerous failures | ||
6 | about unknown types on modern compilers. | ||
7 | |||
8 | Upstream-Status: Submitted [RPM5 maintainer] | ||
9 | |||
10 | Signed-off-by: Qing He <qing.he@intel.com> | ||
11 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
12 | |||
13 | Index: rpm-5.4.14/rpmdb/rpmdb.h | ||
14 | =================================================================== | ||
15 | --- rpm-5.4.14.orig/rpmdb/rpmdb.h | ||
16 | +++ rpm-5.4.14/rpmdb/rpmdb.h | ||
17 | @@ -9,6 +9,7 @@ | ||
18 | |||
19 | #include <assert.h> | ||
20 | #include <mire.h> | ||
21 | +#include <errno.h> | ||
22 | |||
23 | #include <rpmtypes.h> | ||
24 | #include <rpmtag.h> /* XXX Header typedef */ | ||
25 | Index: rpm-5.4.14/rpmdb/rpmtag.h | ||
26 | =================================================================== | ||
27 | --- rpm-5.4.14.orig/rpmdb/rpmtag.h | ||
28 | +++ rpm-5.4.14/rpmdb/rpmtag.h | ||
29 | @@ -7,6 +7,7 @@ | ||
30 | |||
31 | #include <rpmiotypes.h> | ||
32 | #include <rpmsw.h> | ||
33 | +#include <stdint.h> | ||
34 | |||
35 | #ifdef __cplusplus | ||
36 | extern "C" { | ||