From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/files/, sys-fs/multipath-tools/
Date: Sun, 3 May 2020 19:18:47 +0000 (UTC) [thread overview]
Message-ID: <1588533518.c7b201a70998ff0db1f1cd4187004e684d6aa10a.whissi@gentoo> (raw)
commit: c7b201a70998ff0db1f1cd4187004e684d6aa10a
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun May 3 19:18:28 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun May 3 19:18:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b201a7
sys-fs/multipath-tools: fix building against GCC 10
Closes: https://bugs.gentoo.org/706670
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
.../multipath-tools-0.8.3-fix-gcc-10-compatibility.patch | 11 +++++++++++
sys-fs/multipath-tools/multipath-tools-0.8.3-r2.ebuild | 1 +
2 files changed, 12 insertions(+)
diff --git a/sys-fs/multipath-tools/files/multipath-tools-0.8.3-fix-gcc-10-compatibility.patch b/sys-fs/multipath-tools/files/multipath-tools-0.8.3-fix-gcc-10-compatibility.patch
new file mode 100644
index 00000000000..18ed8d65e0f
--- /dev/null
+++ b/sys-fs/multipath-tools/files/multipath-tools-0.8.3-fix-gcc-10-compatibility.patch
@@ -0,0 +1,11 @@
+--- a/libmultipath/structs.h
++++ b/libmultipath/structs.h
+@@ -106,7 +106,7 @@ enum yes_no_undef_states {
+ * _FIND_MULTIPATHS_F must have the same value as YNU_YES.
+ * Generate a compile time error if that isn't the case.
+ */
+-char ___error1___[-(_FIND_MULTIPATHS_F != YNU_YES)];
++extern char ___error1___[-(_FIND_MULTIPATHS_F != YNU_YES)];
+
+ #define find_multipaths_on(conf) \
+ (!!((conf)->find_multipaths & _FIND_MULTIPATHS_F))
diff --git a/sys-fs/multipath-tools/multipath-tools-0.8.3-r2.ebuild b/sys-fs/multipath-tools/multipath-tools-0.8.3-r2.ebuild
index feb9ba35c84..718daba1fda 100644
--- a/sys-fs/multipath-tools/multipath-tools-0.8.3-r2.ebuild
+++ b/sys-fs/multipath-tools/multipath-tools-0.8.3-r2.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.7.5-respect-flags.patch
"${FILESDIR}"/${PN}-0.8.3-no-gziped-docs.patch
"${FILESDIR}"/${PN}-0.8.3-json-c-0.14.patch
+ "${FILESDIR}"/${PN}-0.8.3-fix-gcc-10-compatibility.patch
)
get_systemd_pv() {
next reply other threads:[~2020-05-03 19:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 19:18 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-17 6:00 [gentoo-commits] repo/gentoo:master commit in: sys-fs/multipath-tools/files/, sys-fs/multipath-tools/ Sam James
2024-02-22 19:57 Patrick McLean
2023-11-30 3:49 Sam James
2023-03-23 15:54 David Seifert
2022-12-26 8:35 Sam James
2022-07-02 13:16 David Seifert
2020-05-11 11:53 Lars Wendler
2020-05-02 7:29 Thomas Deutschmann
2018-03-20 13:36 Lars Wendler
2017-11-23 20:48 Thomas Deutschmann
2017-08-02 6:35 Lars Wendler
2016-09-12 21:32 Mike Gilbert
2016-08-08 20:26 Robin H. Johnson
2016-08-05 18:43 Robin H. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588533518.c7b201a70998ff0db1f1cd4187004e684d6aa10a.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox