summaryrefslogtreecommitdiff
path: root/desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff')
-rw-r--r--desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff b/desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff
new file mode 100644
index 0000000000..e5dd7f51b1
--- /dev/null
+++ b/desktop/spectrwm/patches/01-linux_Makefile_swmhack_libdir.diff
@@ -0,0 +1,9 @@
+--- linux/Makefile.orig 2013-11-27 10:39:26.448879134 +0100
++++ linux/Makefile 2013-11-27 10:42:28.977873694 +0100
+@@ -1,5 +1,5 @@
+ CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
+-CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
++CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
+ LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
+
+ PREFIX?= /usr/local