From 6d6a18ddea7836e5e4fde9e90b2c18b5d89a342e Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Sun, 22 Apr 2001 00:31:50 +0000 Subject: Update to version 0.7. --- x11-clocks/wmtz/files/patch-ac | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 x11-clocks/wmtz/files/patch-ac (limited to 'x11-clocks/wmtz/files/patch-ac') diff --git a/x11-clocks/wmtz/files/patch-ac b/x11-clocks/wmtz/files/patch-ac new file mode 100644 index 000000000000..08ebbcd4b177 --- /dev/null +++ b/x11-clocks/wmtz/files/patch-ac @@ -0,0 +1,31 @@ +--- wmtz.c.orig Sat Apr 21 20:18:05 2001 ++++ wmtz.c Sat Apr 21 20:19:47 2001 +@@ -275,15 +275,15 @@ + + if (!Read_Config_File(config_file)) + { +- /* Fall back to /etc/wmtzrc */ ++ /* Fall back to ${PREFIX}/etc/wmtzrc */ + free(config_file); + config_file = malloc( 12 ); + if (config_file == NULL) + errH(1, 1, "malloc"); + +- sprintf(config_file, "/etc/wmtzrc"); ++ sprintf(config_file, "${PREFIX}/etc/wmtzrc "); + +- fprintf(stderr, "Using /etc/wmtzrc as config file.\n"); ++ fprintf(stderr, "Using ${PREFIX}/etc/wmtzrc as config file.\n"); + + Read_Config_File(config_file); + } +@@ -729,7 +729,8 @@ + void usage(void) + { + fprintf(stderr, "\nwmtz - shows local time around the world and more.\n"); +- fprintf(stderr, "See ~/.wmtzrc or /etc/wmtzrc for configuration.\n\n"); ++ fprintf(stderr, "See ~/.wmtzrc or ${PREFIX}/etc/wmtzrc.default for\n"); ++ fprintf(stderr, "configuration.\n\n"); + fprintf(stderr, "Usage:\n"); + fprintf(stderr, " -display \n"); + fprintf(stderr, " -e use specified editor\n"); -- cgit v1.2.3