From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4985D138334 for ; Sat, 9 Mar 2019 20:15:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61C14E0921; Sat, 9 Mar 2019 20:15:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D34CE0921 for ; Sat, 9 Mar 2019 20:15:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87793335C51 for ; Sat, 9 Mar 2019 20:15:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C051954B for ; Sat, 9 Mar 2019 20:15:44 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1552162535.cfaa0221b7202553c854c0a791894c928b7fc13a.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gd/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/gd/gd-2.2.5-r2.ebuild X-VCS-Directories: media-libs/gd/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: cfaa0221b7202553c854c0a791894c928b7fc13a X-VCS-Branch: master Date: Sat, 9 Mar 2019 20:15:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 490267c7-0e74-4594-84b1-2261aecb49b5 X-Archives-Hash: 4bfeccaf5b4e57f7b9c1178e08182485 commit: cfaa0221b7202553c854c0a791894c928b7fc13a Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Mar 9 20:15:14 2019 +0000 Commit: Thomas Deutschmann gentoo 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 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.