summaryrefslogtreecommitdiff
path: root/x11-clocks/wmtz/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/wmtz/files')
-rw-r--r--x11-clocks/wmtz/files/patch-ab11
-rw-r--r--x11-clocks/wmtz/files/patch-ac56
2 files changed, 0 insertions, 67 deletions
diff --git a/x11-clocks/wmtz/files/patch-ab b/x11-clocks/wmtz/files/patch-ab
deleted file mode 100644
index a42fe86b175a..000000000000
--- a/x11-clocks/wmtz/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- wmtz.c.orig Tue Dec 28 17:23:11 1999
-+++ wmtz.c Tue Dec 28 17:23:47 1999
-@@ -111,7 +111,7 @@
- month[0] = "JAN"; month[1] = "FEB"; month[2] = "MAR";
- month[3] = "APR"; month[4] = "MAY"; month[5] = "JUN";
- month[6] = "JUL"; month[7] = "AUG"; month[8] = "SEP";
-- month[9] = "OUT"; month[10] = "NOV"; month[11] = "DEC";
-+ month[9] = "OCT"; month[10] = "NOV"; month[11] = "DEC";
-
- week_day[0] = "SUNDAY ";
- week_day[1] = "MONDAY ";
diff --git a/x11-clocks/wmtz/files/patch-ac b/x11-clocks/wmtz/files/patch-ac
deleted file mode 100644
index e807d454173f..000000000000
--- a/x11-clocks/wmtz/files/patch-ac
+++ /dev/null
@@ -1,56 +0,0 @@
---- wmtz.c.orig Thu Nov 20 22:04:56 2003
-+++ wmtz.c Thu Nov 20 22:06:57 2003
-@@ -51,7 +51,7 @@
- #define STRSIZE 10
- #define LMST 1
- #define GMST 0
--#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7
-+#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7\n\
- http://www.geocities.com/jl1n/wmtz/wmtz.html\""
-
-
-@@ -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);
- }
-@@ -479,6 +479,7 @@
- but_stat = -1;
- break;
- default:
-+ ;
- }
- }
-
-@@ -529,6 +530,7 @@
- exit(0);
- break;
- default:
-+ ;
- }
- return;
- }
-@@ -729,7 +731,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 <display name>\n");
- fprintf(stderr, " -e <editor> use specified editor\n");