summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-03-20 14:36:27 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-03-20 14:36:45 +0100
commit2fe378e60cb6848a2faebf73f0dec7e4f61b0c95 (patch)
tree66934f461f255407cfd212dccd50fa869508c3cc /sys-fs/multipath-tools/files
parentnet-libs/libtirpc: Removed old. (diff)
downloadgentoo-2fe378e60cb6848a2faebf73f0dec7e4f61b0c95.tar.gz
gentoo-2fe378e60cb6848a2faebf73f0dec7e4f61b0c95.tar.bz2
gentoo-2fe378e60cb6848a2faebf73f0dec7e4f61b0c95.zip
sys-fs/multipath-tools: Bump to version 0.7.5
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-fs/multipath-tools/files')
-rw-r--r--sys-fs/multipath-tools/files/multipath-tools-0.7.5-respect-flags.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-fs/multipath-tools/files/multipath-tools-0.7.5-respect-flags.patch b/sys-fs/multipath-tools/files/multipath-tools-0.7.5-respect-flags.patch
new file mode 100644
index 000000000000..fef55ce31e91
--- /dev/null
+++ b/sys-fs/multipath-tools/files/multipath-tools-0.7.5-respect-flags.patch
@@ -0,0 +1,19 @@
+--- multipath-tools-0.7.5/Makefile.inc
++++ multipath-tools-0.7.5/Makefile.inc
+@@ -91,12 +91,13 @@
+ -Wp,-D_FORTIFY_SOURCE=2 $(STACKPROT) \
+ --param=ssp-buffer-size=4
+
+-CFLAGS := $(OPTFLAGS) -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \
+- -MMD -MP $(CFLAGS)
++CFLAGS ?= $(OPTFLAGS)
++CFLAGS += -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \
++ -MMD -MP
+ BIN_CFLAGS = -fPIE -DPIE
+ LIB_CFLAGS = -fPIC
+ SHARED_FLAGS = -shared
+-LDFLAGS = -Wl,-z,relro -Wl,-z,now
++LDFLAGS += -Wl,-z,relro -Wl,-z,now
+ BIN_LDFLAGS = -pie
+
+ # Check whether a function with name $1 has been declared in header file $2.