summaryrefslogtreecommitdiff
path: root/x11-wm/spectrwm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /x11-wm/spectrwm/files
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'x11-wm/spectrwm/files')
-rw-r--r--x11-wm/spectrwm/files/spectrwm-3.4.0-gentoo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/files/spectrwm-3.4.0-gentoo.patch b/x11-wm/spectrwm/files/spectrwm-3.4.0-gentoo.patch
new file mode 100644
index 000000000000..3b923b6a1256
--- /dev/null
+++ b/x11-wm/spectrwm/files/spectrwm-3.4.0-gentoo.patch
@@ -0,0 +1,24 @@
+diff -ur a/linux/Makefile b/linux/Makefile
+--- a/linux/Makefile 2020-06-20 07:31:46.794877103 -0500
++++ b/linux/Makefile 2020-06-20 07:33:10.283526519 -0500
+@@ -12,16 +12,16 @@
+ 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_LDFLAGS = -Wl,--as-needed
++MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized
++MAINT_LDFLAGS =
+ MAINT_CPPFLAGS = -I. -D_GNU_SOURCE -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\"
+
+ ifneq ("${BUILDVERSION}", "")
+ MAINT_CPPFLAGS += -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
+ endif
+
+-BIN_CFLAGS = -fPIE
+-BIN_LDFLAGS = -fPIE -pie
++BIN_CFLAGS =
++BIN_LDFLAGS =
+ BIN_CPPFLAGS = $(shell $(PKG_CONFIG) --cflags x11 x11-xcb xcb-icccm xcb-keysyms xcb-randr xcb-util xcb-xinput xcb-xtest xcursor xft)
+ BIN_LDLIBS = $(shell $(PKG_CONFIG) --libs x11 x11-xcb xcb-icccm xcb-keysyms xcb-randr xcb-util xcb-xinput xcb-xtest xcursor xft)
+ LIB_CFLAGS = -fPIC