commit: cfaa0221b7202553c854c0a791894c928b7fc13a Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sat Mar 9 20:15:14 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sat Mar 9 20:15:35 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaa0221
media-libs/gd: add workaround for rounding problem on some architectures Bug: https://github.com/libgd/libgd/issues/278 Closes: https://bugs.gentoo.org/632076 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> media-libs/gd/gd-2.2.5-r2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 0dcb8668045..4e7248ab237 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -66,6 +66,11 @@ multilib_src_configure() { append-cflags -ffloat-store fi + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + # we aren't actually {en,dis}abling X here ... the configure # script uses it just to add explicit -I/-L paths which we # don't care about on Gentoo systems.
