View | Details | Raw Unified | Return to bug 59538
Collapse All | Expand All

(-)/home/samy/tmp/wmtz/Makefile (-7 / +1 lines)
Lines 19-34 Link Here
19
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
20
USE_XPM=	yes
20
USE_XPM=	yes
21
21
22
.include <bsd.port.pre.mk>
23
24
.if ${OSVERSION} >= 501000
25
BROKEN=		"Does not compile"
26
.endif
27
28
post-install:
22
post-install:
29
	@${ECHO} "===>   Installing wmtzrc.default in ${PREFIX}/etc."
23
	@${ECHO} "===>   Installing wmtzrc.default in ${PREFIX}/etc."
30
	@${ECHO} "===>   Copy it to ~/.wmtzrc or ${PREFIX}/etc/wmtzrc and modify it."
24
	@${ECHO} "===>   Copy it to ~/.wmtzrc or ${PREFIX}/etc/wmtzrc and modify it."
31
	@${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/etc/wmtzrc.default
25
	@${INSTALL_DATA} ${WRKSRC}/wmtzrc ${PREFIX}/etc/wmtzrc.default
32
	@${ECHO} "===>   Run wmtz --help for usage instructions"
26
	@${ECHO} "===>   Run wmtz --help for usage instructions"
33
27
34
.include <bsd.port.post.mk>
28
.include <bsd.port.mk>
(-)/home/samy/tmp/wmtz/files/patch-ac (-3 / +28 lines)
Lines 1-5 Link Here
1
--- wmtz.c.orig	Sat Apr 21 20:18:05 2001
1
--- wmtz.c.orig	Thu Nov 20 22:04:56 2003
2
+++ wmtz.c	Sat Apr 21 20:19:47 2001
2
+++ wmtz.c	Thu Nov 20 22:06:57 2003
3
@@ -51,7 +51,7 @@
4
 #define STRSIZE 10
5
 #define LMST 1
6
 #define GMST 0
7
-#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7
8
+#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7\n\
9
 http://www.geocities.com/jl1n/wmtz/wmtz.html\""
10
 
11
 
3
@@ -275,15 +275,15 @@
12
@@ -275,15 +275,15 @@
4
 
13
 
5
         if (!Read_Config_File(config_file))
14
         if (!Read_Config_File(config_file))
Lines 19-25 Link Here
19
         
28
         
20
             Read_Config_File(config_file);
29
             Read_Config_File(config_file);
21
         }
30
         }
22
@@ -729,7 +729,8 @@
31
@@ -479,6 +479,7 @@
32
 		   but_stat = -1;
33
                    break;
34
 	    default:
35
+		;
36
 	  }
37
         }  
38
 
39
@@ -529,6 +530,7 @@
40
 	    exit(0);
41
 	    break;
42
 	default:
43
+	    ;
44
       }
45
     return;
46
 }
47
@@ -729,7 +731,8 @@
23
 void usage(void)
48
 void usage(void)
24
 {
49
 {
25
   fprintf(stderr, "\nwmtz - shows local time around the world and more.\n");
50
   fprintf(stderr, "\nwmtz - shows local time around the world and more.\n");

Return to bug 59538