termux-packages/packages/net-snmp/agent-mibgroup-host-hr_swinst.c.patch
2022-02-02 06:14:52 +09:00

12 lines
322 B
Diff

--- 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