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 11127138350 for ; Wed, 29 Jan 2020 20:16:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45265E0802; Wed, 29 Jan 2020 20:16:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 2BDBEE0802 for ; Wed, 29 Jan 2020 20:16:42 +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 219B734E075 for ; Wed, 29 Jan 2020 20:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3AA1109 for ; Wed, 29 Jan 2020 20:16:39 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1580328992.8c07d209f2974a24906f4ac9bdddd48e0dc3b063.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ski/files/, app-emulation/ski/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ski/files/ski-1.3.2-gcc-10.patch app-emulation/ski/ski-1.3.2-r3.ebuild X-VCS-Directories: app-emulation/ski/ app-emulation/ski/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8c07d209f2974a24906f4ac9bdddd48e0dc3b063 X-VCS-Branch: master Date: Wed, 29 Jan 2020 20:16:39 +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: 196dba78-8fd5-47a5-8cde-cc9254f4d78e X-Archives-Hash: e38979bb9c402af9ede699287ef36585 commit: 8c07d209f2974a24906f4ac9bdddd48e0dc3b063 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jan 29 20:15:59 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jan 29 20:16:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c07d209 app-emulation/ski: tweak for gcc-10 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/707144 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> app-emulation/ski/files/ski-1.3.2-gcc-10.patch | 22 ++++++++++++++++++++++ app-emulation/ski/ski-1.3.2-r3.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/app-emulation/ski/files/ski-1.3.2-gcc-10.patch b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch new file mode 100644 index 00000000000..bfe5de33acb --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-gcc-10.patch @@ -0,0 +1,22 @@ +--- a/src/linux/syscall-linux.c ++++ b/src/linux/syscall-linux.c +@@ -538,7 +538,7 @@ pid_t cons_pid = -1; + static int cfd = -1; + BOOL trace_syscalls; + char *consLog = NULL; +-extern BOOL noConsole; ++BOOL noConsole; + extern BOOL userint; + static struct termios sane_ttyIos; + +--- a/src/platform.c ++++ b/src/platform.c +@@ -29,7 +29,7 @@ + #include "platform.h" + #include "state.h" + +-BOOL autoAlloc, noConsole; ++extern BOOL autoAlloc, noConsole; + extern char *consLog; + extern unsigned va_len, pa_len, rid_len, key_len; + extern unsigned mips; diff --git a/app-emulation/ski/ski-1.3.2-r3.ebuild b/app-emulation/ski/ski-1.3.2-r3.ebuild index 1063017aad0..e64df45c125 100644 --- a/app-emulation/ski/ski-1.3.2-r3.ebuild +++ b/app-emulation/ski/ski-1.3.2-r3.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=6 @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${P}-ncurses-config.patch "${FILESDIR}"/${P}-prototypes.patch "${FILESDIR}"/${P}-glibc-2.28.patch + "${FILESDIR}"/${P}-gcc-10.patch #707144 ) src_prepare() {