aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2010-05-12 23:28:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:28:26 +0200
commitfde9348c7935c40ca95b468a9499d70c08294184 (patch)
treeeb6047771ef373a46e71730e3185e4fb515aad89 /desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch
parent3f9032c06d13fa25d0fe2ea45ced29ba19403c85 (diff)
desktop/wmdrawer: Added to 12.2 repository
Diffstat (limited to 'desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch')
-rw-r--r--desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch b/desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch
new file mode 100644
index 0000000000000..9311880c19dd1
--- /dev/null
+++ b/desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch
@@ -0,0 +1,27 @@
+diff -Nur wmdrawer-0.10.5.orig/Makefile wmdrawer-0.10.5/Makefile
+--- wmdrawer-0.10.5.orig/Makefile 2004-06-26 13:16:04.000000000 -0500
++++ wmdrawer-0.10.5/Makefile 2009-05-10 21:40:22.098379875 -0500
+@@ -24,19 +24,19 @@
+
+ ifdef USE_GDKPIXBUF
+ IMGLIB_DEF = -DUSE_GDKPIXBUF
+-CFLAGS = -O3 -Wall `gdk-pixbuf-config --cflags`
++CFLAGS = -Wall $(EXTRA_CFLAGS) `gdk-pixbuf-config --cflags`
+ LDFLAGS = `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib
+ endif
+
+ ifdef USE_GDKPIXBUF2
+ IMGLIB_DEF = -DUSE_GDKPIXBUF2
+-CFLAGS = -O3 -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
+-LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
++CFLAGS = -Wall $(EXTRA_CFLAGS) `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/include
++LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/lib
+ endif
+
+ ifdef USE_IMLIB
+ IMGLIB_DEF = -DUSE_IMLIB
+-CFLAGS = -O3 -Wall `imlib-config --cflags`
++CFLAGS = -Wall $(EXTRA_CFLAGS) `imlib-config --cflags`
+ LDFLAGS = `imlib-config --libs`
+ endif
+