diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-06-20 07:36:57 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-06-20 07:41:14 -0500 |
commit | b736ece2eb5da75a4db21e9b5c364aea3557fc6f (patch) | |
tree | ef7dd33e5532dab962a753a18a385e5b82eb6be2 /x11-wm/spectrwm/files | |
parent | sys-libs/binutils-libs-2.34-r1: marked *-macos, *-solaris (diff) | |
download | gentoo-b736ece2eb5da75a4db21e9b5c364aea3557fc6f.tar.gz gentoo-b736ece2eb5da75a4db21e9b5c364aea3557fc6f.tar.bz2 gentoo-b736ece2eb5da75a4db21e9b5c364aea3557fc6f.zip |
x11-wm/spectrwm: bump to 3.4.0
Reworked Makefile patch since upstream has applied the $(PKGCONFIG)
fixes
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-wm/spectrwm/files')
-rw-r--r-- | x11-wm/spectrwm/files/spectrwm-3.4.0-gentoo.patch | 24 |
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 |