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 C749D138350 for ; Sun, 15 Mar 2020 21:36:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E249AE0CCA; Sun, 15 Mar 2020 21:36:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C5B02E0CCA for ; Sun, 15 Mar 2020 21:36:02 +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 DA12234F18F for ; Sun, 15 Mar 2020 21:36:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96722171 for ; Sun, 15 Mar 2020 21:36:00 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1584308137.da5dd26a142c51e5fa97c316e29302630e432de0.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/xa/files/, dev-embedded/xa/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch dev-embedded/xa/xa-2.3.10.ebuild X-VCS-Directories: dev-embedded/xa/files/ dev-embedded/xa/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: da5dd26a142c51e5fa97c316e29302630e432de0 X-VCS-Branch: master Date: Sun, 15 Mar 2020 21:36:00 +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: a361ef6c-5a55-4d42-958f-be45e753aff0 X-Archives-Hash: e7b86a8a174e9e7d5c755028196dcf2b commit: da5dd26a142c51e5fa97c316e29302630e432de0 Author: David Seifert gentoo org> AuthorDate: Sun Mar 15 21:35:37 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Mar 15 21:35:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5dd26a dev-embedded/xa: Fix building with -fno-common Closes: https://bugs.gentoo.org/710988 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert gentoo.org> dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch | 12 ++++++++++++ dev-embedded/xa/xa-2.3.10.ebuild | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch new file mode 100644 index 00000000000..5b348643388 --- /dev/null +++ b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch @@ -0,0 +1,12 @@ +--- a/src/xap.h ++++ b/src/xap.h +@@ -35,7 +35,7 @@ + long gm_ppm(void); + long ga_ppm(void); + +-Datei *filep; +-char s[MAXLINE]; ++extern Datei *filep; ++extern char s[MAXLINE]; + + #endif /* __XA65_XAP_H__ */ diff --git a/dev-embedded/xa/xa-2.3.10.ebuild b/dev-embedded/xa/xa-2.3.10.ebuild index 0b4aabb5713..4c062c20057 100644 --- a/dev-embedded/xa/xa-2.3.10.ebuild +++ b/dev-embedded/xa/xa-2.3.10.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 @@ -13,6 +13,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( "${FILESDIR}"/${PN}-2.3.10-fix-gcc10-fno-common.patch ) + src_compile() { emake \ CC="$(tc-getCC)" \