diff options
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/wmtz/Makefile | 8 | ||||
-rw-r--r-- | x11-clocks/wmtz/files/patch-ac | 31 |
2 files changed, 29 insertions, 10 deletions
diff --git a/x11-clocks/wmtz/Makefile b/x11-clocks/wmtz/Makefile index a2cf3dff934b..0f1f99bf3ff5 100644 --- a/x11-clocks/wmtz/Makefile +++ b/x11-clocks/wmtz/Makefile @@ -19,16 +19,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/wmtz USE_X_PREFIX= yes USE_XPM= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - post-install: @${ECHO} "===> Installing wmtzrc.default in ${PREFIX}/etc." @${ECHO} "===> Copy it to ~/.wmtzrc or ${PREFIX}/etc/wmtzrc and modify it." @${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/etc/wmtzrc.default @${ECHO} "===> Run wmtz --help for usage instructions" -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-clocks/wmtz/files/patch-ac b/x11-clocks/wmtz/files/patch-ac index 08ebbcd4b177..e807d454173f 100644 --- a/x11-clocks/wmtz/files/patch-ac +++ b/x11-clocks/wmtz/files/patch-ac @@ -1,5 +1,14 @@ ---- wmtz.c.orig Sat Apr 21 20:18:05 2001 -+++ wmtz.c Sat Apr 21 20:19:47 2001 +--- 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)) @@ -19,7 +28,23 @@ Read_Config_File(config_file); } -@@ -729,7 +729,8 @@ +@@ -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"); |