diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-13 18:13:42 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-13 18:13:42 -0200 |
commit | ff6d46c7160204877e7781ae98c9fcdc721f9908 (patch) | |
tree | 585108d5bf9ae4caf1c7783adc93b0fac5fdf70c /libre/spectrwm-libre/swmhack_path.patch | |
parent | 749750403c2754e49e6934bef7b05429b67e436d (diff) | |
download | abslibre-ff6d46c7160204877e7781ae98c9fcdc721f9908.tar.gz abslibre-ff6d46c7160204877e7781ae98c9fcdc721f9908.tar.bz2 abslibre-ff6d46c7160204877e7781ae98c9fcdc721f9908.zip |
spectrwm-libre-2.4.0-2: fix FS#37998 => https://bugs.archlinux.org/task/37998
Diffstat (limited to 'libre/spectrwm-libre/swmhack_path.patch')
-rw-r--r-- | libre/spectrwm-libre/swmhack_path.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/spectrwm-libre/swmhack_path.patch b/libre/spectrwm-libre/swmhack_path.patch new file mode 100644 index 000000000..a4f1c3cf0 --- /dev/null +++ b/libre/spectrwm-libre/swmhack_path.patch @@ -0,0 +1,27 @@ +diff --git a/linux/Makefile b/linux/Makefile +index 73c3d37..f48a32f 100644 +--- a/linux/Makefile ++++ b/linux/Makefile +@@ -1,16 +1,16 @@ +-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)\" +-LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor +- + PREFIX?= /usr/local + BINDIR?= $(PREFIX)/bin + LIBDIR?= $(PREFIX)/lib + MANDIR?= $(PREFIX)/share/man + +-CC?= cc +- + LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) + ++CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g ++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 ++ ++CC?= cc ++ + BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh) + ifneq ("${BUILDVERSION}", "") + CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\" |