diff options
author | David Seifert <soap@gentoo.org> | 2020-04-22 11:29:40 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-04-22 11:29:40 +0200 |
commit | b2e205cd00f9cf8b4e13e159750a68f964b4862a (patch) | |
tree | 446e6f3e3e1bd7faf9dc65ccbfe98d73233c1a3b /sci-biology | |
parent | net-misc/megatools: bump to 1.10.3 (diff) | |
download | gentoo-b2e205cd00f9cf8b4e13e159750a68f964b4862a.tar.gz gentoo-b2e205cd00f9cf8b4e13e159750a68f964b4862a.tar.bz2 gentoo-b2e205cd00f9cf8b4e13e159750a68f964b4862a.zip |
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@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/mafft/files/mafft-7.305-fno-common.patch | 8 | ||||
-rw-r--r-- | sci-biology/mafft/mafft-7.305.ebuild | 3 |
2 files changed, 10 insertions, 1 deletions
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 000000000000..0287b6367f8b --- /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 9f9f631416b2..f4863892571a 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 |