SOURCES: net-snmp-rpmpath.patch (NEW) - fix rpmpath

wolf wolf at pld-linux.org
Mon Aug 7 22:44:23 CEST 2006


Author: wolf                         Date: Mon Aug  7 20:44:23 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix rpmpath

---- Files affected:
SOURCES:
   net-snmp-rpmpath.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/net-snmp-rpmpath.patch
diff -u /dev/null SOURCES/net-snmp-rpmpath.patch:1.1
--- /dev/null	Mon Aug  7 22:44:23 2006
+++ SOURCES/net-snmp-rpmpath.patch	Mon Aug  7 22:44:18 2006
@@ -0,0 +1,12 @@
+diff -ruN net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c
+--- net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c	2006-03-09 18:31:53.000000000 +0100
++++ net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c	2006-08-07 23:19:42.356996008 +0200
+@@ -205,7 +205,7 @@
+         /*
+          * XXX distinguish between rpm-2.5.x and rpm-2.9x 
+          */
+-#ifdef HAVE_RPMGETPATH
++#if 1
+         rpmReadConfigFiles(NULL, NULL);
+         swi->swi_dbpath = rpmGetPath("%{_dbpath}", NULL);
+ #else
================================================================


More information about the pld-cvs-commit mailing list