You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-plugins/asclock/files/asclock-gcc41.patch

45 lines
1.5 KiB

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",