diff options
author | David Denoncin <ddenoncin@gmail.com> | 2020-07-04 16:26:35 +0200 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-07-04 16:24:04 +0100 |
commit | 4550eaf9f23d3579acdf226618f3fb482e675956 (patch) | |
tree | f030e0ce1cdbf3fe3f158eaf6b99f73bdebf298c /sci-biology/blat | |
parent | dev-python/backports-lzma: Sed wrong -L/usr/lib out (diff) | |
download | gentoo-4550eaf9f23d3579acdf226618f3fb482e675956.tar.gz gentoo-4550eaf9f23d3579acdf226618f3fb482e675956.tar.bz2 gentoo-4550eaf9f23d3579acdf226618f3fb482e675956.zip |
sci-biology/blat: -fno-common fix
Closes: https://bugs.gentoo.org/706450
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin <ddenoncin@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16587
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sci-biology/blat')
-rw-r--r-- | sci-biology/blat/blat-34-r2.ebuild | 7 | ||||
-rw-r--r-- | sci-biology/blat/files/blat-34-fno-common.patch | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/sci-biology/blat/blat-34-r2.ebuild b/sci-biology/blat/blat-34-r2.ebuild index e10bc367a311..b07246356381 100644 --- a/sci-biology/blat/blat-34-r2.ebuild +++ b/sci-biology/blat/blat-34-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,10 @@ DEPEND="app-arch/unzip" S=${WORKDIR}/${MY_PN} -PATCHES=( "${FILESDIR}"/${PN}-34-fix-build-system.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-34-fix-build-system.patch + "${FILESDIR}"/${PN}-34-fno-common.patch +) src_compile() { tc-export AR CC diff --git a/sci-biology/blat/files/blat-34-fno-common.patch b/sci-biology/blat/files/blat-34-fno-common.patch new file mode 100644 index 000000000000..63a49cf81299 --- /dev/null +++ b/sci-biology/blat/files/blat-34-fno-common.patch @@ -0,0 +1,11 @@ +--- a/inc/htmshell.h ++++ b/inc/htmshell.h +@@ -85,7 +85,7 @@ void htmlBadVar(char *varName); + void htmlImage(char *fileName, int width, int height); + /* Display centered image file. */ + +-jmp_buf htmlRecover; /* Error recovery jump. Exposed for cart's use. */ ++extern jmp_buf htmlRecover; /* Error recovery jump. Exposed for cart's use. */ + + void htmlVaWarn(char *format, va_list args); + /* Write an error message. (Generally you just call warn() or errAbort(). |