From 020214e3094a17f49f47f242a8f83344837f9604 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 21 Nov 2003 10:52:11 +0000 Subject: Unbreak on 5.x PR: 59538 Submitted by: Samy Al Bahra --- x11-clocks/wmtz/Makefile | 8 +------- x11-clocks/wmtz/files/patch-ac | 31 ++++++++++++++++++++++++++++--- 2 files changed, 29 insertions(+), 10 deletions(-) (limited to 'x11-clocks/wmtz') 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 - -.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 +.include 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"); -- cgit v1.2.3