git: 6e5c3c7067c5 - main - graphics/gd: do not contract to FMA or thereabouts

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Tue, 09 Apr 2024 17:19:15 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e5c3c7067c582416bead63f300004ce07e06a86

commit 6e5c3c7067c582416bead63f300004ce07e06a86
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-04-09 17:19:05 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-04-09 17:19:05 +0000

    graphics/gd: do not contract to FMA or thereabouts
    
    PR: 27810
---
 graphics/gd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 87065d97a03a..7f0914358c6e 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libgd
 PORTVERSION=	2.3.3
-PORTREVISION=	11
+PORTREVISION=	12
 PORTEPOCH=	1
 CATEGORIES+=	graphics
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/gd-${PORTVERSION}/
@@ -18,6 +18,7 @@ USES=		cpe tar:xz pkgconfig pathfix libtool:keepla autoreconf shebangfix
 SHEBANG_FILES=	${WRKSRC}/src/bdftogd
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gd-formats
+CFLAGS+=	-ffp-contract=off # do not contract to FMA or thereabouts, PR 278105
 TMPDIR?=	/tmp
 MAKE_ENV=	TMPDIR=${TMPDIR}
 SUB_FILES=	gdlib-config