diff options
author | David Seifert <soap@gentoo.org> | 2020-06-21 19:40:49 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-06-21 19:40:49 +0200 |
commit | 8674063d381e616d093806be74b00c64fe5b5c81 (patch) | |
tree | fa284fc063d4df6443f56dcf52db9868cc368cd4 /sci-biology/poa | |
parent | dev-lang/gnat-gpl: backport libgomp -Werror fix to 2017 (diff) | |
download | gentoo-8674063d381e616d093806be74b00c64fe5b5c81.tar.gz gentoo-8674063d381e616d093806be74b00c64fe5b5c81.tar.bz2 gentoo-8674063d381e616d093806be74b00c64fe5b5c81.zip |
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@gentoo.org>
Diffstat (limited to 'sci-biology/poa')
-rw-r--r-- | sci-biology/poa/files/poa-2-fno-common.patch | 13 | ||||
-rw-r--r-- | sci-biology/poa/poa-2-r1.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
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 000000000000..ddd738a5524c --- /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 fc472ce96007..126272f06c60 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() { |