]> git.pld-linux.org Git - packages/net-snmp.git/blob - net-snmp-use-rpm-hrmib.patch
- rather quick hack to make net-snmp use /var/cache/hrmib export from rpm instead...
[packages/net-snmp.git] / net-snmp-use-rpm-hrmib.patch
1 --- net-snmp-5.4.1/agent/mibgroup/host/hr_swinst.c~     2008-02-20 20:14:05.000000000 +0200
2 +++ net-snmp-5.4.1/agent/mibgroup/host/hr_swinst.c      2008-02-20 20:19:07.078169853 +0200
3 @@ -5,6 +5,8 @@
4  
5  #include <net-snmp/net-snmp-config.h>
6  
7 +#undef HAVE_LIBRPM
8 +
9  #if HAVE_SYS_PARAM_H
10  #include <sys/param.h>
11  #endif
12 @@ -183,6 +185,9 @@
13  #define        _PATH_HRSW_directory    "/var/db/pkg"
14  #endif
15  
16 +#undef _PATH_HRSW_directory
17 +#define        _PATH_HRSW_directory    "/var/cache/hrmib"
18 +
19  void
20  init_hr_swinst(void)
21  {
This page took 0.050864 seconds and 4 git commands to generate.