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 E05411382C5 for ; Sun, 21 Jun 2020 17:41:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A3F6E0875; Sun, 21 Jun 2020 17:41:33 +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 02307E0875 for ; Sun, 21 Jun 2020 17:41:32 +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 4952334FE5B for ; Sun, 21 Jun 2020 17:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2124253 for ; Sun, 21 Jun 2020 17:41:29 +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: <1592761249.8674063d381e616d093806be74b00c64fe5b5c81.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/poa/files/, sci-biology/poa/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-biology/poa/files/poa-2-fno-common.patch sci-biology/poa/poa-2-r1.ebuild X-VCS-Directories: sci-biology/poa/files/ sci-biology/poa/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 8674063d381e616d093806be74b00c64fe5b5c81 X-VCS-Branch: master Date: Sun, 21 Jun 2020 17:41:29 +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: 5c6e58ac-c534-4a77-96c2-32779271f096 X-Archives-Hash: edd922e69dcaf07738d4a8a71cdb2387 commit: 8674063d381e616d093806be74b00c64fe5b5c81 Author: David Seifert gentoo org> AuthorDate: Sun Jun 21 17:40:49 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jun 21 17:40:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8674063d sci-biology/poa: Fix building against GCC 10 Closes: https://bugs.gentoo.org/707028 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: David Seifert gentoo.org> sci-biology/poa/files/poa-2-fno-common.patch | 13 +++++++++++++ sci-biology/poa/poa-2-r1.ebuild | 1 + 2 files changed, 14 insertions(+) diff --git a/sci-biology/poa/files/poa-2-fno-common.patch b/sci-biology/poa/files/poa-2-fno-common.patch new file mode 100644 index 00000000000..ddd738a5524 --- /dev/null +++ b/sci-biology/poa/files/poa-2-fno-common.patch @@ -0,0 +1,13 @@ +--- a/black_flag.h ++++ b/black_flag.h +@@ -236,8 +236,8 @@ + int sourceline, + char sourcefile_revision[]); + +-char *Program_name; +-char *Program_version; ++extern char *Program_name; ++extern char *Program_version; + + void black_flag_init(char progname[],char progversion[]); + void black_flag_init_args(int narg,char *arg[],char progversion[]); diff --git a/sci-biology/poa/poa-2-r1.ebuild b/sci-biology/poa/poa-2-r1.ebuild index fc472ce9600..126272f06c6 100644 --- a/sci-biology/poa/poa-2-r1.ebuild +++ b/sci-biology/poa/poa-2-r1.ebuild @@ -21,6 +21,7 @@ S="${WORKDIR}/${MY_P}" src_prepare() { epatch "${FILESDIR}"/${PV}-respect-flags.patch + epatch "${FILESDIR}"/${P}-fno-common.patch } src_compile() {