public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-biology/mafft/, sci-biology/mafft/files/
@ 2020-04-22  9:30 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-04-22  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     b2e205cd00f9cf8b4e13e159750a68f964b4862a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 22 09:29:40 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 09:29:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e205cd

sci-biology/mafft: Fix -fno-common / GCC 10

Closes: https://bugs.gentoo.org/707738
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-biology/mafft/files/mafft-7.305-fno-common.patch | 8 ++++++++
 sci-biology/mafft/mafft-7.305.ebuild                 | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/sci-biology/mafft/files/mafft-7.305-fno-common.patch b/sci-biology/mafft/files/mafft-7.305-fno-common.patch
new file mode 100644
index 00000000000..0287b6367f8
--- /dev/null
+++ b/sci-biology/mafft/files/mafft-7.305-fno-common.patch
@@ -0,0 +1,8 @@
+--- a/core/mltaln.h
++++ b/core/mltaln.h
+@@ -336,4 +336,4 @@
+ 
+ extern double sueff_global;
+ extern double lenfaca, lenfacb, lenfacc, lenfacd;
+-int maxl, tsize;
++extern int maxl, tsize;

diff --git a/sci-biology/mafft/mafft-7.305.ebuild b/sci-biology/mafft/mafft-7.305.ebuild
index 9f9f631416b..f4863892571 100644
--- a/sci-biology/mafft/mafft-7.305.ebuild
+++ b/sci-biology/mafft/mafft-7.305.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="threads"
 
 S="${WORKDIR}/${P}${EXTENSIONS}"
+PATCHES=( "${FILESDIR}"/${PN}-7.305-fno-common.patch )
 
 src_prepare() {
 	default


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-22  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22  9:30 [gentoo-commits] repo/gentoo:master commit in: sci-biology/mafft/, sci-biology/mafft/files/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox