summaryrefslogtreecommitdiff
path: root/x11-plugins/asclock/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/asclock/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/asclock/files')
-rw-r--r--x11-plugins/asclock/files/asclock-gcc41.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-plugins/asclock/files/asclock-gcc41.patch b/x11-plugins/asclock/files/asclock-gcc41.patch
new file mode 100644
index 000000000000..5a5291219ee5
--- /dev/null
+++ b/x11-plugins/asclock/files/asclock-gcc41.patch
@@ -0,0 +1,44 @@
+diff -ur asclock-2.0.12-orig/asclock.h asclock-2.0.12/asclock.h
+--- asclock-2.0.12-orig/asclock.h 2006-06-03 15:31:58.000000000 -0400
++++ asclock-2.0.12/asclock.h 2006-06-03 15:35:51.000000000 -0400
+@@ -38,15 +38,15 @@
+ #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[];
+-extern char *hour_xpm[];
+-extern char *minute_xpm[];
+-extern char *second_xpm[];
+-extern char *beats_xpm[];
++static char *clock_xpm[];
++static char *month_xpm[];
++static char *weekday_xpm[];
++static char *led_xpm[];
++static char *date_xpm[];
++static char *hour_xpm[];
++static char *minute_xpm[];
++static char *second_xpm[];
++static char *beats_xpm[];
+
+ /* the filenames */
+ extern char clock_xpm_fn[MAX_PATH_LEN];
+diff -ur asclock-2.0.12-orig/themes/classic/beats.xpm asclock-2.0.12/themes/classic/beats.xpm
+--- asclock-2.0.12-orig/themes/classic/beats.xpm 2006-06-03 15:31:58.000000000 -0400
++++ asclock-2.0.12/themes/classic/beats.xpm 2006-06-03 15:37:04.000000000 -0400
+@@ -1 +1 @@
+-char *beats_xpm[] = { NULL };
++static char *beats_xpm[] = { NULL };
+diff -ur asclock-2.0.12-orig/themes/classic/led.xpm asclock-2.0.12/themes/classic/led.xpm
+--- asclock-2.0.12-orig/themes/classic/led.xpm 2006-06-03 15:31:58.000000000 -0400
++++ asclock-2.0.12/themes/classic/led.xpm 2006-06-03 15:36:53.000000000 -0400
+@@ -1,5 +1,5 @@
+ /* XPM */
+-char * led_xpm[] = {
++static char * led_xpm[] = {
+ "135 11 3 1",
+ " c #282828",
+ "O c #00df00",