summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmcalendar/files')
-rw-r--r--x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch
new file mode 100644
index 000000000000..6c13f109a469
--- /dev/null
+++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch
@@ -0,0 +1,30 @@
+diff -ur wmcalendar-0.5.0/Src/Makefile /wmcalendar-0.5.0/Src/Makefile
+--- wmcalendar-0.5.0/Src/Makefile 2003-07-15 17:19:26.000000000 +0200
++++ /wmcalendar-0.5.0/Src/Makefile 2003-09-17 08:36:48.000000000 +0200
+@@ -1,4 +1,7 @@
+-CC = gcc
++ifndef CC
++ CC = gcc
++endif
++
+ INCLUDES = `pkg-config --cflags gtk+-2.0` -I.
+ LFLAGS = `pkg-config --libs gtk+-2.0`
+
+@@ -6,7 +9,7 @@
+ #INCLUDES = `gtk12-config --cflags` -I.
+ #LFLAGS = `gtk12-config --libs`
+ X11BASE = /usr/X11R6
+-CFLAGS = $(INCLUDES) -DICON_TYPE=$(ICON_TYPE)
++MY_CFLAGS = $(CFLAGS) $(INCLUDES) -DICON_TYPE=$(ICON_TYPE)
+ INCDIR = -I$(X11BASE)/include/X11 -I$(X11BASE)/include -I$/usr/include -I$/usr/local/include
+ DESTDIR= /usr/local
+ LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib
+@@ -24,7 +27,7 @@
+ calendar.o
+
+ .c.o:
+- $(CC) $(CFLAGS) -D`uname -s` -DHAVE_SYS_TIME_H -c $< -o $*.o $(INCDIR)
++ $(CC) $(MY_CFLAGS) -D`uname -s` -DHAVE_SYS_TIME_H -c $< -o $*.o $(INCDIR)
+
+
+ all: wmCalendar.o wmCalendar