From: wolf Date: Mon, 7 Aug 2006 20:44:18 +0000 (+0000) Subject: - fix rpmpath X-Git-Tag: auto/th/net-snmp-5_3_1-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=9977e12a33eadc856e055f8cd5f005420781ac8b;p=packages%2Fnet-snmp.git - fix rpmpath Changed files: net-snmp-rpmpath.patch -> 1.1 --- diff --git a/net-snmp-rpmpath.patch b/net-snmp-rpmpath.patch new file mode 100644 index 0000000..8370040 --- /dev/null +++ b/net-snmp-rpmpath.patch @@ -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