diff options
Diffstat (limited to 'parallel/ganglia-monitor-core/patches/patch-af')
-rw-r--r-- | parallel/ganglia-monitor-core/patches/patch-af | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/parallel/ganglia-monitor-core/patches/patch-af b/parallel/ganglia-monitor-core/patches/patch-af new file mode 100644 index 00000000000..307198dd71c --- /dev/null +++ b/parallel/ganglia-monitor-core/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1.1.1 2005/02/07 14:33:21 jschauma Exp $ + +--- gmetad/cmdline.c.orig 2005-02-04 17:31:01.000000000 -0500 ++++ gmetad/cmdline.c 2005-02-04 17:31:23.000000000 -0500 +@@ -50,7 +50,7 @@ + "Usage: %s [OPTIONS]...\n", PACKAGE); + printf(" -h --help Print help and exit\n"); + printf(" -V --version Print version and exit\n"); +- printf(" -cSTRING --conf=STRING Location of gmetad configuration file (default='/etc/gmetad.conf')\n"); ++ printf(" -cSTRING --conf=STRING Location of gmetad configuration file (default='@PKG_SYSCONFDIR@/gmetad.conf')\n"); + printf(" -dINT --debug=INT Debug level. If greater than zero, daemon will stay in foreground. (default=0)\n"); + } + +@@ -80,7 +80,7 @@ + args_info->conf_given = 0 ; + args_info->debug_given = 0 ; + #define clear_args() { \ +- args_info->conf_arg = strdup("/etc/gmetad.conf") ;\ ++ args_info->conf_arg = strdup("@PKG_SYSCONFDIR@/gmetad.conf") ;\ + args_info->debug_arg = 0 ;\ + } + |