1 diff -ruN net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c
2 --- net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c 2006-03-09 18:31:53.000000000 +0100
3 +++ net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c 2006-08-07 23:19:42.356996008 +0200
6 * XXX distinguish between rpm-2.5.x and rpm-2.9x
8 -#ifdef HAVE_RPMGETPATH
10 rpmReadConfigFiles(NULL, NULL);
11 swi->swi_dbpath = rpmGetPath("%{_dbpath}", NULL);