From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/poa/files/, sci-biology/poa/
Date: Sun, 21 Jun 2020 17:41:29 +0000 (UTC) [thread overview]
Message-ID: <1592761249.8674063d381e616d093806be74b00c64fe5b5c81.soap@gentoo> (raw)
commit: 8674063d381e616d093806be74b00c64fe5b5c81
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 17:40:49 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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() {
next reply other threads:[~2020-06-21 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-21 17:41 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-21 17:41 [gentoo-commits] repo/gentoo:master commit in: sci-biology/poa/files/, sci-biology/poa/ David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1592761249.8674063d381e616d093806be74b00c64fe5b5c81.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox