summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-03 21:17:26 +0000
committerSam James <sam@gentoo.org>2021-03-03 21:19:45 +0000
commit7352a350f876c61ef8fec8e50da226330dfdf6f3 (patch)
tree39e5f2e98d006fe8694437b86104a4e48b4c0708 /sci-biology/ucsc-genome-browser
parentapp-admin/webalizer: tweak for gcc-10 (diff)
downloadgentoo-7352a350f876c61ef8fec8e50da226330dfdf6f3.tar.gz
gentoo-7352a350f876c61ef8fec8e50da226330dfdf6f3.tar.bz2
gentoo-7352a350f876c61ef8fec8e50da226330dfdf6f3.zip
sci-biology/ucsc-genome-browser: add gcc 10 workaround
Closes: https://bugs.gentoo.org/708064 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology/ucsc-genome-browser')
-rw-r--r--sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
index 9b53170b1e83..0423f509cec9 100644
--- a/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
+++ b/sci-biology/ucsc-genome-browser/ucsc-genome-browser-260-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -30,7 +30,12 @@ S="${WORKDIR}/kent"
src_prepare() {
default
+
use server && webapp_src_preinst
+
+ # bug #708064
+ append-flags -fcommon
+
sed \
-e 's/-Werror//' \
-e "/COPT/s:=.*$:=${LDFLAGS}:g" \