Mailinglist Archive: zypp-devel (40 mails)

< Previous Next >
[zypp-devel] [PATCH] Compilation error with rpm 4.7
  • From: Lorenzo Villani <lvillani@xxxxxxxxxxxxxxx>
  • Date: Thu, 2 Jul 2009 00:04:50 +0200
  • Message-id: <200907020005.49650.lvillani@xxxxxxxxxxxxxxx>
This patch (attached) should fix a compilation error occurred on Fedora 11 with
Rpm 4.7.
I am not sure if it breaks compilation with older or different releases of RPM
(such as the ones coming from rpm5.org).

Cheers.
L.V.
diff --git a/zypp/target/rpm/librpmDb.cv3.cc b/zypp/target/rpm/librpmDb.cv3.cc
index 630bf11..46fd7b9 100644
--- a/zypp/target/rpm/librpmDb.cv3.cc
+++ b/zypp/target/rpm/librpmDb.cv3.cc
@@ -25,7 +25,7 @@ typedef int32_t rpm_count_t;
#define headerGetEntryMinMemory headerGetEntry
#define headerNVR(h,n,v,r) headerNEVRA(h,n,NULL,v,r,NULL)
#else
-#define HGEPtr_t const void *
+#define HGEPtr_t void *
#endif
}

< Previous Next >
List Navigation
Follow Ups