summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-02 15:15:55 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-02 15:15:55 +0200
commit8dc26a90c1f885be27e37e59d752b690ee919264 (patch)
treec6b508de4b626ea7b9858395786d0e0f818f2c69 /sys-fs/multipath-tools/files
parentdev-python/pyalsa: Stabilize 1.2.7 ppc, #855794 (diff)
downloadgentoo-8dc26a90c1f885be27e37e59d752b690ee919264.tar.gz
gentoo-8dc26a90c1f885be27e37e59d752b690ee919264.tar.bz2
gentoo-8dc26a90c1f885be27e37e59d752b690ee919264.zip
sys-fs/multipath-tools: add 0.9.0
Bug: https://bugs.gentoo.org/852173 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs/multipath-tools/files')
-rw-r--r--sys-fs/multipath-tools/files/multipath-tools-0.9.0-respect-flags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/multipath-tools/files/multipath-tools-0.9.0-respect-flags.patch b/sys-fs/multipath-tools/files/multipath-tools-0.9.0-respect-flags.patch
new file mode 100644
index 000000000000..f2b6dca05776
--- /dev/null
+++ b/sys-fs/multipath-tools/files/multipath-tools-0.9.0-respect-flags.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.inc
++++ b/Makefile.inc
+@@ -140,10 +140,9 @@
+ 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 := $(FORTIFY_OPT) \
+- -DBIN_DIR=\"$(bindir)\" -DMULTIPATH_DIR=\"$(plugindir)\" -DRUN_DIR=\"${RUN}\" \
++CPPFLAGS += -DBIN_DIR=\"$(bindir)\" -DMULTIPATH_DIR=\"$(plugindir)\" -DRUN_DIR=\"${RUN}\" \
+ -DCONFIG_DIR=\"$(configdir)\" -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP
+-CFLAGS := --std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe
++CFLAGS += -std=gnu99 $(WARNFLAGS)
+ BIN_CFLAGS = -fPIE -DPIE
+ LIB_CFLAGS = -fPIC
+ SHARED_FLAGS = -shared