aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/asclock-gtk/files
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-gtk/files
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-gtk/files')
-rw-r--r--x11-clocks/asclock-gtk/files/patch-asclock.h20
-rw-r--r--x11-clocks/asclock-gtk/files/patch-led.xpm9
2 files changed, 29 insertions, 0 deletions
diff --git a/x11-clocks/asclock-gtk/files/patch-asclock.h b/x11-clocks/asclock-gtk/files/patch-asclock.h
new file mode 100644
index 000000000000..eafd372e9659
--- /dev/null
+++ b/x11-clocks/asclock-gtk/files/patch-asclock.h
@@ -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[];
diff --git a/x11-clocks/asclock-gtk/files/patch-led.xpm b/x11-clocks/asclock-gtk/files/patch-led.xpm
new file mode 100644
index 000000000000..bfcdb79c9a57
--- /dev/null
+++ b/x11-clocks/asclock-gtk/files/patch-led.xpm
@@ -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",