diff options
author | Qing He <qing.he@intel.com> | 2010-08-20 11:08:34 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-03 18:30:16 -0700 |
commit | 162c652a2ca36e5afc58f21cb86601a057a4e4bc (patch) | |
tree | 13ea22035b2190cea36e798dcc91fe12fcbfc67f /meta/recipes-extended/libzypp/libzypp/rpm5.patch | |
parent | 1fb94b77f833e612cbd75e71ac21e434c8cd9c56 (diff) | |
download | poky-162c652a2ca36e5afc58f21cb86601a057a4e4bc.tar.gz |
libzypp: add new package
Signed-off-by: Saul Wold <saul.wold@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/rpm5.patch')
-rw-r--r-- | meta/recipes-extended/libzypp/libzypp/rpm5.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/rpm5.patch b/meta/recipes-extended/libzypp/libzypp/rpm5.patch new file mode 100644 index 0000000000..b86463dc54 --- /dev/null +++ b/meta/recipes-extended/libzypp/libzypp/rpm5.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | build fix for rpm5 | ||
2 | |||
3 | 8/19/2010 - created by Qing He <qing.he@intel.com> | ||
4 | |||
5 | diff --git a/zypp/target/rpm/BinHeader.cc b/zypp/target/rpm/BinHeader.cc | ||
6 | index e9ad382..86a9c96 100644 | ||
7 | --- a/zypp/target/rpm/BinHeader.cc | ||
8 | +++ b/zypp/target/rpm/BinHeader.cc | ||
9 | @@ -19,7 +19,7 @@ extern "C" | ||
10 | |||
11 | #ifndef _RPM_4_4_COMPAT | ||
12 | #ifdef _RPM_5 | ||
13 | -typedef rpmuint32_t rpm_count_t; | ||
14 | +typedef uint32_t rpm_count_t; | ||
15 | #else | ||
16 | typedef int32_t rpm_count_t; | ||
17 | #endif | ||
18 | diff --git a/zypp/target/rpm/librpmDb.cv3.cc b/zypp/target/rpm/librpmDb.cv3.cc | ||
19 | index bf18e45..5454ea9 100644 | ||
20 | --- a/zypp/target/rpm/librpmDb.cv3.cc | ||
21 | +++ b/zypp/target/rpm/librpmDb.cv3.cc | ||
22 | @@ -14,7 +14,7 @@ extern "C" | ||
23 | { | ||
24 | #ifndef _RPM_4_4_COMPAT | ||
25 | #ifdef _RPM_5 | ||
26 | -typedef rpmuint32_t rpm_count_t; | ||
27 | +typedef uint32_t rpm_count_t; | ||
28 | #else | ||
29 | typedef int32_t rpm_count_t; | ||
30 | #endif | ||