Mailinglist Archive: zypp-commit (243 mails)
| < Previous | Next > |
[zypp-commit] <libzypp> ma-misc : fix to compile with rpm-4.7
- From: Michael Andres <ma@xxxxxxx>
- Date: Thu, 2 Jul 2009 10:42:45 +0200
- Message-id: <E1MRlME-0007kd-KF@xxxxxxxxxxxxxxxx>
ref: refs/heads/ma-misc
commit 4c0e128215a476dfabd6bb85a9d530efdaac353d
Author: Michael Andres <ma@xxxxxxx>
Date: Thu Jul 2 10:42:45 2009 +0200
fix to compile with rpm-4.7
---
zypp/target/rpm/librpmDb.cv3.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/zypp/target/rpm/librpmDb.cv3.cc b/zypp/target/rpm/librpmDb.cv3.cc
index 630bf11..bf18e45 100644
--- a/zypp/target/rpm/librpmDb.cv3.cc
+++ b/zypp/target/rpm/librpmDb.cv3.cc
@@ -20,10 +20,12 @@ typedef int32_t rpm_count_t;
#endif
#endif
-#ifdef _RPM_5
+#if defined( _RPM_5 )
#define HGEPtr_t void *
#define headerGetEntryMinMemory headerGetEntry
#define headerNVR(h,n,v,r) headerNEVRA(h,n,NULL,v,r,NULL)
+#elif defined( _RPM_4_4_COMPAT )
+#define HGEPtr_t void *
#else
#define HGEPtr_t const void *
#endif
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
commit 4c0e128215a476dfabd6bb85a9d530efdaac353d
Author: Michael Andres <ma@xxxxxxx>
Date: Thu Jul 2 10:42:45 2009 +0200
fix to compile with rpm-4.7
---
zypp/target/rpm/librpmDb.cv3.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/zypp/target/rpm/librpmDb.cv3.cc b/zypp/target/rpm/librpmDb.cv3.cc
index 630bf11..bf18e45 100644
--- a/zypp/target/rpm/librpmDb.cv3.cc
+++ b/zypp/target/rpm/librpmDb.cv3.cc
@@ -20,10 +20,12 @@ typedef int32_t rpm_count_t;
#endif
#endif
-#ifdef _RPM_5
+#if defined( _RPM_5 )
#define HGEPtr_t void *
#define headerGetEntryMinMemory headerGetEntry
#define headerNVR(h,n,v,r) headerNEVRA(h,n,NULL,v,r,NULL)
+#elif defined( _RPM_4_4_COMPAT )
+#define HGEPtr_t void *
#else
#define HGEPtr_t const void *
#endif
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
| < Previous | Next > |