openbsd-ports/x11/wmtz/patches/patch-wmtz_wmtz_c
cwen 7517073852 wmtz: update to 0.7.20150816
This update allows wmtz to use libdockapp, reducing the amount of patches
needed, and fixes the build with -fno-common.

https tweak and OK sthen@
2021-02-04 13:59:25 +00:00

23 lines
890 B
Plaintext

$OpenBSD: patch-wmtz_wmtz_c,v 1.4 2021/02/04 13:59:25 cwen Exp $
Index: wmtz/wmtz.c
--- wmtz/wmtz.c.orig
+++ wmtz/wmtz.c
@@ -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 http://www.geocities.com/jl1n/wmtz/wmtz.html\""
+#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7 https://www.dockapps.net/wmtz\""
/*
@@ -195,7 +195,7 @@ int main(int argc, char *argv[]) {
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 ";