sci-biology/ucsc-genome-browser: workaround modern C issues

Build with -std=gnu89 as it has many issues.

Closes: https://bugs.gentoo.org/831491
Closes: https://bugs.gentoo.org/919200
Closes: https://bugs.gentoo.org/921261
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-06-02 00:15:05 +01:00
parent 11b958adad
commit b7cf0f3d7c
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,6 +35,8 @@ src_prepare() {
# bug #708064
append-flags -fcommon
# bug #831491, bug #919200, bug #921261
append-flags -std=gnu89
sed \
-e 's/-Werror//' \