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 03144138350 for ; Wed, 26 Feb 2020 14:34:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EAFBE0905; Wed, 26 Feb 2020 14:34:22 +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 0FCCEE0905 for ; Wed, 26 Feb 2020 14:34:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 BC54334F2DB for ; Wed, 26 Feb 2020 14:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1C7E14D for ; Wed, 26 Feb 2020 14:34:18 +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: <1582727638.447ad3ceef7905cc45267886632da13f6a2bc8ed.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mupen64plus-core/, games-emulation/mupen64plus-core/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild X-VCS-Directories: games-emulation/mupen64plus-core/files/ games-emulation/mupen64plus-core/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 447ad3ceef7905cc45267886632da13f6a2bc8ed X-VCS-Branch: master Date: Wed, 26 Feb 2020 14:34:18 +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: 76f1227a-4d3c-4ce1-a628-a2950aa185d7 X-Archives-Hash: 3a07978a9ea86f1fc9faf0356c76385b commit: 447ad3ceef7905cc45267886632da13f6a2bc8ed Author: David Seifert gentoo org> AuthorDate: Wed Feb 26 14:33:58 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Feb 26 14:33:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447ad3ce games-emulation/mupen64plus-core: Fix GCC 10 / -fno-common Closes: https://bugs.gentoo.org/708054 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> ...mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch | 20 ++++++++++++++++++++ .../mupen64plus-core/mupen64plus-core-2.5.9.ebuild | 2 ++ 2 files changed, 22 insertions(+) diff --git a/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch b/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch new file mode 100644 index 00000000000..cfc7d5a9fb4 --- /dev/null +++ b/games-emulation/mupen64plus-core/files/mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch @@ -0,0 +1,20 @@ +--- a/src/device/r4300/idec.h ++++ b/src/device/r4300/idec.h +@@ -82,6 +82,6 @@ + + #define IDEC_U53(r4300, iw, u53, u5) (void*)(((char*)(r4300)) + idec_u53((iw), (u53), (u5))) + +-const char* g_r4300_opcodes[R4300_OPCODES_COUNT]; ++extern const char* g_r4300_opcodes[R4300_OPCODES_COUNT]; + + #endif +--- a/src/main/workqueue.h ++++ b/src/main/workqueue.h +@@ -27,7 +27,6 @@ + + struct work_struct; + +-struct work_struct *work; + typedef void (*work_func_t)(struct work_struct *work); + struct work_struct { + work_func_t func; diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild index f7e5603250c..5bf2f73d58f 100644 --- a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild +++ b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.9.ebuild @@ -33,6 +33,8 @@ DEPEND="${RDEPEND} REQUIRED_USE="gles2? ( !osd )" S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${PN}-2.5.9-fix-gcc10-fno-common.patch ) + src_prepare() { default