git: 1c81bd02ce5a - main - graphics/jpeg-turbo: Update to 3.1.3

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 17 Dec 2025 20:38:24 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c81bd02ce5abf4b16f58188938fb52e4944c3e7

commit 1c81bd02ce5abf4b16f58188938fb52e4944c3e7
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-12-17 20:29:34 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-12-17 20:38:15 +0000

    graphics/jpeg-turbo: Update to 3.1.3
    
    Add -ffp-model=strict to CFLAGS to fix too aggressive optimization
    causing rounding issues
    
    Changelog:
    https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/3.1.2
    
    PR:             291623
    Reviewed by:    desktop (arrowd)
    Exp-run by:     antoine
---
 graphics/jpeg-turbo/Makefile | 7 ++++---
 graphics/jpeg-turbo/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile
index f3540fe19a2c..9cf011f24331 100644
--- a/graphics/jpeg-turbo/Makefile
+++ b/graphics/jpeg-turbo/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jpeg-turbo
-DISTVERSION=	3.1.2
+DISTVERSION=	3.1.3
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/lib${PORTNAME}/lib${PORTNAME}/releases/download/${DISTVERSION}/
 DISTNAME=	lib${PORTNAME}-${DISTVERSION}
@@ -25,14 +25,15 @@ USES=		cmake cpe pathfix
 CPE_PRODUCT=	libjpeg-turbo
 USE_LDCONFIG=	yes
 
+# See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/705
+CFLAGS+=	-ffp-model=strict
+
 TEST_TARGET=	test
 
 PORTDOCS=	*
 DOCSDIR=	${PREFIX}/share/doc/libjpeg-turbo
 
 CMAKE_ON=	WITH_JPEG8
-# See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/705
-CMAKE_ARGS=	-DCMAKE_CTEST_ARGUMENTS="-E;'djpeg12-shared-3x2-float-prog-cmp|djpeg12-static-3x2-float-prog-cmp'"
 
 OPTIONS_DEFINE=		DOCS
 
diff --git a/graphics/jpeg-turbo/distinfo b/graphics/jpeg-turbo/distinfo
index 3e5acb196d0e..ea38572fe1e5 100644
--- a/graphics/jpeg-turbo/distinfo
+++ b/graphics/jpeg-turbo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757049071
-SHA256 (libjpeg-turbo-3.1.2.tar.gz) = 8f0012234b464ce50890c490f18194f913a7b1f4e6a03d6644179fa0f867d0cf
-SIZE (libjpeg-turbo-3.1.2.tar.gz) = 2512033
+TIMESTAMP = 1765615174
+SHA256 (libjpeg-turbo-3.1.3.tar.gz) = 075920b826834ac4ddf97661cc73491047855859affd671d52079c6867c1c6c0
+SIZE (libjpeg-turbo-3.1.3.tar.gz) = 2516606