summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp/libzypp/rpm5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/rpm5.patch')
-rw-r--r--meta/recipes-extended/libzypp/libzypp/rpm5.patch30
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 @@
1build fix for rpm5
2
38/19/2010 - created by Qing He <qing.he@intel.com>
4
5diff --git a/zypp/target/rpm/BinHeader.cc b/zypp/target/rpm/BinHeader.cc
6index 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
18diff --git a/zypp/target/rpm/librpmDb.cv3.cc b/zypp/target/rpm/librpmDb.cv3.cc
19index 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