summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-20 05:12:31 +0100
committerSam James <sam@gentoo.org>2021-09-20 05:12:31 +0100
commita71d4395773257f18b8b61624bf006097b072c92 (patch)
tree8541ade22f9a4569fb0d4846ad008f719918c44d /sys-fs/multipath-tools/files
parentapp-misc/pax-utils: Stabilize 1.3.3 arm, #813753 (diff)
downloadgentoo-a71d4395773257f18b8b61624bf006097b072c92.tar.gz
gentoo-a71d4395773257f18b8b61624bf006097b072c92.tar.bz2
gentoo-a71d4395773257f18b8b61624bf006097b072c92.zip
sys-fs/multipath-tools: add 0.8.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/multipath-tools/files')
-rw-r--r--sys-fs/multipath-tools/files/multipath-tools-0.8.7-respect-flags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-fs/multipath-tools/files/multipath-tools-0.8.7-respect-flags.patch b/sys-fs/multipath-tools/files/multipath-tools-0.8.7-respect-flags.patch
new file mode 100644
index 000000000000..43c03883ee07
--- /dev/null
+++ b/sys-fs/multipath-tools/files/multipath-tools-0.8.7-respect-flags.patch
@@ -0,0 +1,14 @@
+--- a/Makefile.inc
++++ b/Makefile.inc
+@@ -101,8 +101,9 @@ OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
+ WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \
+ -Werror=implicit-function-declaration -Werror=format-security \
+ $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS)
+-CPPFLAGS := -Wp,-D_FORTIFY_SOURCE=2
+-CFLAGS := --std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
++CPPFLAGS ?= -Wp,-D_FORTIFY_SOURCE=2
++CFLAGS ?= --std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe
++CFLAGS += --std=gnu99 \
+ -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \
+ -MMD -MP
+ BIN_CFLAGS = -fPIE -DPIE