aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/asclock-xlib
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2007-03-25 12:19:37 +0800
committerkuriyama <kuriyama@FreeBSD.org>2007-03-25 12:19:37 +0800
commit02d2e6e02216577b28063ff537c81ba898aaae8d (patch)
treeb5c602438f0ad9b382c250407a05f5f3120bbef0 /x11-clocks/asclock-xlib
parentedce4da3bd5c52fa19f3a5f2a4be7b35baa6387e (diff)
downloadfreebsd-ports-gnome-02d2e6e02216577b28063ff537c81ba898aaae8d.tar.gz
freebsd-ports-gnome-02d2e6e02216577b28063ff537c81ba898aaae8d.tar.zst
freebsd-ports-gnome-02d2e6e02216577b28063ff537c81ba898aaae8d.zip
Try to unbreak on gcc41.
Picked by: pointyhat via kris
Diffstat (limited to 'x11-clocks/asclock-xlib')
-rw-r--r--x11-clocks/asclock-xlib/files/patch-Imakefile11
-rw-r--r--x11-clocks/asclock-xlib/files/patch-asclock.h19
2 files changed, 30 insertions, 0 deletions
diff --git a/x11-clocks/asclock-xlib/files/patch-Imakefile b/x11-clocks/asclock-xlib/files/patch-Imakefile
new file mode 100644
index 000000000000..e7456f763a9d
--- /dev/null
+++ b/x11-clocks/asclock-xlib/files/patch-Imakefile
@@ -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
diff --git a/x11-clocks/asclock-xlib/files/patch-asclock.h b/x11-clocks/asclock-xlib/files/patch-asclock.h
new file mode 100644
index 000000000000..8f9688cc87b8
--- /dev/null
+++ b/x11-clocks/asclock-xlib/files/patch-asclock.h
@@ -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[];