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 5F1521382C5 for ; Tue, 9 Feb 2021 16:59:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 455AEE0920; Tue, 9 Feb 2021 16:59:50 +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 2CFEEE0920 for ; Tue, 9 Feb 2021 16:59:50 +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 20A14340E6D for ; Tue, 9 Feb 2021 16:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3FB92A9 for ; Tue, 9 Feb 2021 16:59:47 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1612889959.fec4effdd2bd2dfce8775be5ee50ef475b593dfc.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/magicpoint/files/, app-office/magicpoint/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild X-VCS-Directories: app-office/magicpoint/ app-office/magicpoint/files/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: fec4effdd2bd2dfce8775be5ee50ef475b593dfc X-VCS-Branch: master Date: Tue, 9 Feb 2021 16:59:47 +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: f3062150-acfc-410a-a464-3b3391a66ea5 X-Archives-Hash: 5de12f7fa4087e76bddc40f1b3b7271e commit: fec4effdd2bd2dfce8775be5ee50ef475b593dfc Author: Jakov Smolic sartura hr> AuthorDate: Thu Feb 4 19:25:10 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Feb 9 16:59:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec4effd app-office/magicpoint: Fix build with gcc-10 Closes: https://bugs.gentoo.org/746488 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Ben Kohler gentoo.org> .../files/magicpoint-1.13a_p20121015-fno-common.patch | 11 +++++++++++ app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch b/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch new file mode 100644 index 00000000000..1dcf1fb535c --- /dev/null +++ b/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch @@ -0,0 +1,11 @@ +--- a/grammar.y ++++ b/grammar.y +@@ -73,7 +73,7 @@ static struct qual qerr = { Q_UNDEF, Q_UNDEF, Q_UNDEF, Q_UNDEF }; + int n_errors = 0; + struct ctrl *root; + char *yyfilename; +-int yylineno; ++extern int yylineno; + + #ifdef HAVE_STDARG_H + /* GCC complains if we declare this function in traditional style */ diff --git a/app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild b/app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild index 5e341810c2f..c72a1f5b574 100644 --- a/app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild +++ b/app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild @@ -60,7 +60,8 @@ src_prepare() { "${FILESDIR}"/${PN}-1.13a_p20121015-parse-empty.patch \ "${FILESDIR}"/${PN}-1.13a_p20121015-draw-charset.patch \ "${FILESDIR}"/${PN}-1.13a_p20121015-draw-stringtoolong.patch \ - "${FILESDIR}"/${PN}-1.13a_p20121015-implicit-declaration.patch + "${FILESDIR}"/${PN}-1.13a_p20121015-implicit-declaration.patch \ + "${FILESDIR}"/${PN}-1.13a_p20121015-fno-common.patch if ! use imlib; then epatch "${FILESDIR}"/${PN}-1.13a-libpng15.patch