From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D35F7138350 for ; Tue, 28 Jan 2020 02:32:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0164E0883; Tue, 28 Jan 2020 02:32:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63157E087E for ; Tue, 28 Jan 2020 02:32:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A178134E4A7 for ; Tue, 28 Jan 2020 02:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37AB28F for ; Tue, 28 Jan 2020 02:32:13 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1580178676.c9a5da79c40937e2cf8d91e9a8ea0e4d4c4d5329.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/davfs2/, net-fs/davfs2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/davfs2/davfs2-1.5.5.ebuild net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch X-VCS-Directories: net-fs/davfs2/ net-fs/davfs2/files/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: c9a5da79c40937e2cf8d91e9a8ea0e4d4c4d5329 X-VCS-Branch: master Date: Tue, 28 Jan 2020 02:32:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4443622f-774f-4e05-92f4-047b3215a37c X-Archives-Hash: 2ab4f22d9adaacd9f06597696178e04f commit: c9a5da79c40937e2cf8d91e9a8ea0e4d4c4d5329 Author: Göktürk Yüksek gentoo org> AuthorDate: Mon Jan 27 23:44:56 2020 +0000 Commit: Göktürk Yüksek gentoo 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 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; +