git: 68278398bfff - main - graphics/jpeg-turbo: Update to 3.0.3

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 26 May 2024 07:09:52 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68278398bfffdc7ec5681e6fdd65398e7b0bdd72

commit 68278398bfffdc7ec5681e6fdd65398e7b0bdd72
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-26 07:06:03 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-26 07:09:16 +0000

    graphics/jpeg-turbo: Update to 3.0.3
    
    Minor change to port Makefile
    
    Changelog:
    https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/3.0.3
    
    PR:             279166
    Approved by:    desktop (tcberner)
    Sponsored by:   Blinkinblox
    Exp-run by:     antoine
---
 graphics/jpeg-turbo/Makefile                   | 4 ++--
 graphics/jpeg-turbo/distinfo                   | 6 +++---
 graphics/jpeg-turbo/files/patch-CMakeLists.txt | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile
index 9c4e64f79dd5..bf4c9692f445 100644
--- a/graphics/jpeg-turbo/Makefile
+++ b/graphics/jpeg-turbo/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jpeg-turbo
-DISTVERSION=	3.0.2
+DISTVERSION=	3.0.3
 #PORTREVISION?=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/lib${PORTNAME}/lib${PORTNAME}/releases/download/${DISTVERSION}/
@@ -23,9 +23,9 @@ BUILD_DEPENDS_amd64=	nasm:devel/nasm
 BUILD_DEPENDS_i386=	nasm:devel/nasm
 
 USES=		cmake cpe pathfix
+CPE_PRODUCT=	libjpeg-turbo
 USE_LDCONFIG=	yes
 
-CPE_PRODUCT=	libjpeg-turbo
 TEST_TARGET=	test
 
 PORTDOCS=	*
diff --git a/graphics/jpeg-turbo/distinfo b/graphics/jpeg-turbo/distinfo
index b692a5d50d7a..ce3043ff4276 100644
--- a/graphics/jpeg-turbo/distinfo
+++ b/graphics/jpeg-turbo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706835477
-SHA256 (libjpeg-turbo-3.0.2.tar.gz) = c2ce515a78d91b09023773ef2770d6b0df77d674e144de80d63e0389b3a15ca6
-SIZE (libjpeg-turbo-3.0.2.tar.gz) = 2831164
+TIMESTAMP = 1716048857
+SHA256 (libjpeg-turbo-3.0.3.tar.gz) = 343e789069fc7afbcdfe44dbba7dbbf45afa98a15150e079a38e60e44578865d
+SIZE (libjpeg-turbo-3.0.3.tar.gz) = 2832827
diff --git a/graphics/jpeg-turbo/files/patch-CMakeLists.txt b/graphics/jpeg-turbo/files/patch-CMakeLists.txt
index 339c381abded..ddca4a8dc9e4 100644
--- a/graphics/jpeg-turbo/files/patch-CMakeLists.txt
+++ b/graphics/jpeg-turbo/files/patch-CMakeLists.txt
@@ -1,10 +1,10 @@
---- CMakeLists.txt.orig	2023-02-09 07:01:27 UTC
+--- CMakeLists.txt.orig	2024-05-18 16:15:18 UTC
 +++ CMakeLists.txt
-@@ -393,14 +393,14 @@ if(MSVC)
+@@ -418,14 +418,14 @@ endif()
    add_definitions(-D_CRT_NONSTDC_NO_WARNINGS)
  endif()
  
--if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
+-if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
 -  # Use the maximum optimization level for release builds
 -  foreach(var CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO)
 -    if(${var} MATCHES "-O2")
@@ -12,7 +12,7 @@
 -    endif()
 -  endforeach()
 -endif()
-+#if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
++#if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
 +#  # Use the maximum optimization level for release builds
 +#  foreach(var CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO)
 +#    if(${var} MATCHES "-O2")