termux-packages/packages/net-snmp/agent-mibgroup-host-hr_swinst.c.patch

12 lines
322 B
Diff
Raw Normal View History

2022-01-30 23:25:19 +01:00
--- a/agent/mibgroup/host/hr_swinst.c
+++ b/agent/mibgroup/host/hr_swinst.c
@@ -193,7 +193,7 @@
#define _PATH_HRSW_directory "/var/db/pkg"
#endif
#if defined(linux) && !defined(HAVE_LIBRPM)
-#define _PATH_HRSW_directory "/var/cache/hrmib"
+#define _PATH_HRSW_directory "@TERMUX_PREFIX@/var/cache/hrmib"
#endif
void