* [gentoo-commits] repo/gentoo:master commit in: net-fs/davfs2/, net-fs/davfs2/files/
@ 2020-01-28 2:32 99% Göktürk Yüksek
0 siblings, 0 replies; 1+ results
From: Göktürk Yüksek @ 2020-01-28 2:32 UTC (permalink / raw
To: gentoo-commits
commit: c9a5da79c40937e2cf8d91e9a8ea0e4d4c4d5329
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 23:44:56 2020 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 02:31:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a5da79
net-fs/davfs2: fix building with gcc 10 #706356
Closes: https://bugs.gentoo.org/706356
Bug: http://savannah.nongnu.org/support/index.php?110186
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
net-fs/davfs2/davfs2-1.5.5.ebuild | 5 ++++-
net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch | 18 ++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/net-fs/davfs2/davfs2-1.5.5.ebuild b/net-fs/davfs2/davfs2-1.5.5.ebuild
index 3ef5dd25f00..e90fe83a11d 100644
--- a/net-fs/davfs2/davfs2-1.5.5.ebuild
+++ b/net-fs/davfs2/davfs2-1.5.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -33,6 +33,9 @@ src_prepare() {
sed -e '/^manual[58]_DATA/ s/\.gz//g' \
-i "${S}"/man/Makefile.in || die
+ # Bug: https://bugs.gentoo.org/706356
+ eapply "${FILESDIR}"/${PN}-1.5.5-gcc-10.patch
+
default
}
diff --git a/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch b/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch
new file mode 100644
index 00000000000..56b0bab4491
--- /dev/null
+++ b/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch
@@ -0,0 +1,18 @@
+Handle building with '-fno-common' for gcc 10.
+See: https://bugs.gentoo.org/706356
+
+
+--- a/src/dav_coda.c
++++ b/src/dav_coda.c
+@@ -99,3 +99,3 @@ static size_t alignment;
+ /* Send debug messages to syslog if != 0. */
+-int debug;
++static int debug;
+
+--- a/src/dav_fuse.c
++++ b/src/dav_fuse.c
+@@ -86,3 +86,3 @@ static uint64_t root;
+ /* Send debug messages to syslog if != 0. */
+-int debug;
++static int debug;
+
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-28 2:32 99% [gentoo-commits] repo/gentoo:master commit in: net-fs/davfs2/, net-fs/davfs2/files/ Göktürk Yüksek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox