1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Try to unbreak on gcc41.

Picked by:	pointyhat via kris
This commit is contained in:
Jun Kuriyama 2007-03-25 04:19:37 +00:00
parent 00dbce6310
commit 55157df249
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188237
4 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- asclock.h.orig Fri Mar 26 15:49:34 1999
+++ asclock.h Sun Mar 25 13:08:41 2007
@@ -76,12 +76,12 @@
GdkColormap *cmap;
/* the xpm data */
-extern char *clock_xpm[];
-extern char *month_xpm[];
-extern char *weekday_xpm[];
-extern char *led_xpm[];
+static char *clock_xpm[];
+static char *month_xpm[];
+static char *weekday_xpm[];
+static char *led_xpm[];
extern char *beats_xpm[];
-extern char *date_xpm[];
+static char *date_xpm[];
extern char *hour_xpm[];
extern char *minute_xpm[];
extern char *second_xpm[];

View File

@ -0,0 +1,9 @@
--- themes/classic/led.xpm.orig Sun Mar 25 13:12:27 2007
+++ themes/classic/led.xpm Sun Mar 25 13:12:33 2007
@@ -1,5 +1,5 @@
/* XPM */
-char * led_xpm[] = {
+static char * led_xpm[] = {
"135 11 3 1",
" c #282828",
"O c #00df00",

View File

@ -0,0 +1,11 @@
--- Imakefile.orig Sun Mar 25 12:49:22 2007
+++ Imakefile Sun Mar 25 12:49:32 2007
@@ -5,7 +5,7 @@
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
LINTLIBS = $(LINTXLIB)
-CC = gcc -g
+#CC = $(CC)
SRCS = asclock.c parser.c symbols.c config.c
OBJS = asclock.o parser.o symbols.o config.o

View File

@ -0,0 +1,19 @@
--- asclock.h.orig Sun Mar 25 12:58:29 2007
+++ asclock.h Sun Mar 25 12:59:09 2007
@@ -38,11 +38,11 @@
#define INT_TYPE 0;
/* the xpm data */
-extern char *clock_xpm[];
-extern char *month_xpm[];
-extern char *weekday_xpm[];
-extern char *led_xpm[];
-extern char *date_xpm[];
+static char *clock_xpm[];
+static char *month_xpm[];
+static char *weekday_xpm[];
+static char *led_xpm[];
+static char *date_xpm[];
extern char *hour_xpm[];
extern char *minute_xpm[];
extern char *second_xpm[];