summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch')
-rw-r--r--x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch b/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch
new file mode 100644
index 000000000000..e380b60fdf13
--- /dev/null
+++ b/x11-wm/spectrwm/files/spectrwm-2.6.2-Makefile.patch
@@ -0,0 +1,11 @@
+--- spectrwm-2.6.2/linux/Makefile
++++ spectrwm-2.6.2/linux/Makefile
+@@ -9,7 +9,7 @@
+ LIBVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major.$$minor)
+ LIBMAJORVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major)
+
+-MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
++MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized
+ MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\"
+ MAINT_LDLIBS = -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
+