Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/collectd5/files/patch-src__daemon__collectd.h
--- src/daemon/collectd.h.orig 2016-01-22 09:51:17 UTC | --- src/daemon/collectd.h.orig 2016-09-11 08:10:25 UTC | ||||
+++ src/daemon/collectd.h | +++ src/daemon/collectd.h | ||||
@@ -240,15 +240,15 @@ typedef int _Bool; | @@ -243,15 +243,15 @@ typedef int _Bool; | ||||
#endif | #endif | ||||
#ifndef LOCALSTATEDIR | #ifndef LOCALSTATEDIR | ||||
-#define LOCALSTATEDIR PREFIX "/var" | -# define LOCALSTATEDIR PREFIX "/var" | ||||
+#define LOCALSTATEDIR "/var" | +# define LOCALSTATEDIR "/var" | ||||
#endif | #endif | ||||
#ifndef PKGLOCALSTATEDIR | #ifndef PKGLOCALSTATEDIR | ||||
-#define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME | -# define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME | ||||
+#define PKGLOCALSTATEDIR PREFIX "/var/db/" PACKAGE_NAME | +# define PKGLOCALSTATEDIR PREFIX "/var/db/" PACKAGE_NAME | ||||
#endif | #endif | ||||
#ifndef PIDFILE | #ifndef PIDFILE | ||||
-#define PIDFILE PREFIX "/var/run/" PACKAGE_NAME ".pid" | -# define PIDFILE PREFIX "/var/run/" PACKAGE_NAME ".pid" | ||||
+#define PIDFILE "/var/run/" PACKAGE_NAME ".pid" | +# define PIDFILE "/var/run/" PACKAGE_NAME ".pid" | ||||
#endif | #endif | ||||
#ifndef PLUGINDIR | #ifndef PLUGINDIR |