From a3613d5eee1cdaa0c8465a924818bb1348d39918 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 29 Apr 2020 14:00:40 -0700 Subject: [PATCH] dev-java/openjfx: fix build with uncommon TERM, add -fcommon Closes: https://bugs.gentoo.org/719606 Closes: https://bugs.gentoo.org/719958 Closes: https://bugs.gentoo.org/688894 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev --- dev-java/openjfx/openjfx-11.0.7_p1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-java/openjfx/openjfx-11.0.7_p1.ebuild b/dev-java/openjfx/openjfx-11.0.7_p1.ebuild index 957104f45e10..5f211eba215c 100644 --- a/dev-java/openjfx/openjfx-11.0.7_p1.ebuild +++ b/dev-java/openjfx/openjfx-11.0.7_p1.ebuild @@ -97,7 +97,8 @@ egradle() { unset ANT_HOME einfo "gradle "${gradle_args[@]}" ${@}" - "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed" + # TERM needed, otherwise gradle may fail on terms it does not know about + TERM="xterm" "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed" } pkg_setup() { @@ -168,7 +169,7 @@ src_prepare() { } src_configure() { - append-flags -Wno-error + append-flags -Wno-error -fcommon #FIXME: still calls gcc, pkg-config etc by name without chost prefix #FIXME: should we enable webkit? doubt so -- 2.26.2