]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- fix rpmpath auto/th/net-snmp-5_3_1-1
authorwolf <wolf@pld-linux.org>
Mon, 7 Aug 2006 20:44:18 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-rpmpath.patch -> 1.1

net-snmp-rpmpath.patch [new file with mode: 0644]

diff --git a/net-snmp-rpmpath.patch b/net-snmp-rpmpath.patch
new file mode 100644 (file)
index 0000000..8370040
--- /dev/null
@@ -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
This page took 0.096433 seconds and 4 git commands to generate.