From e63ef8b86c5801fd6d063db1f39f02bb7b99f25b Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Sat, 26 Feb 2005 21:17:19 +0000 Subject: [PATCH] - Add missing patch --- net-mgmt/cacti-spine/files/patch-cactid.h | 13 +++++++++++++ net/cactid/files/patch-cactid.h | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 net-mgmt/cacti-spine/files/patch-cactid.h create mode 100644 net/cactid/files/patch-cactid.h diff --git a/net-mgmt/cacti-spine/files/patch-cactid.h b/net-mgmt/cacti-spine/files/patch-cactid.h new file mode 100644 index 000000000000..4d63e0ec5b73 --- /dev/null +++ b/net-mgmt/cacti-spine/files/patch-cactid.h @@ -0,0 +1,13 @@ +--- cactid.h.orig Sat Feb 26 21:46:10 2005 ++++ cactid.h Sat Feb 26 21:46:34 2005 +@@ -45,8 +45,8 @@ + + /* locations to search for the config file */ + #define CONFIG_PATHS 5 +-#define CONFIG_PATH_1 "" +-#define CONFIG_PATH_2 "/etc/" ++#define CONFIG_PATH_1 "%%PREFIX%%/etc/" ++#define CONFIG_PATH_2 "" + #define CONFIG_PATH_3 "/cygdrive/c/wwwroot/cacti" + #define CONFIG_PATH_4 "/cygdrive/c/webroot/cacti" + #define CONFIG_PATH_5 "/cygdrive/c/inetpub/wwwroot/cacti" diff --git a/net/cactid/files/patch-cactid.h b/net/cactid/files/patch-cactid.h new file mode 100644 index 000000000000..4d63e0ec5b73 --- /dev/null +++ b/net/cactid/files/patch-cactid.h @@ -0,0 +1,13 @@ +--- cactid.h.orig Sat Feb 26 21:46:10 2005 ++++ cactid.h Sat Feb 26 21:46:34 2005 +@@ -45,8 +45,8 @@ + + /* locations to search for the config file */ + #define CONFIG_PATHS 5 +-#define CONFIG_PATH_1 "" +-#define CONFIG_PATH_2 "/etc/" ++#define CONFIG_PATH_1 "%%PREFIX%%/etc/" ++#define CONFIG_PATH_2 "" + #define CONFIG_PATH_3 "/cygdrive/c/wwwroot/cacti" + #define CONFIG_PATH_4 "/cygdrive/c/webroot/cacti" + #define CONFIG_PATH_5 "/cygdrive/c/inetpub/wwwroot/cacti"