git: a918db8648f5 - main - graphics/podofo: Update to 0.10.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 04:25:36 UTC
The branch main has been updated by sunpoet:

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

commit a918db8648f55c95706754dde7b737821b2f481c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:13:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:22:27 +0000

    graphics/podofo: Update to 0.10.4
    
    Changes:        https://github.com/podofo/podofo/releases
---
 graphics/podofo/Makefile                   |  9 ++++++---
 graphics/podofo/distinfo                   |  6 +++---
 graphics/podofo/files/patch-CMakeLists.txt | 14 +++++++-------
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile
index e10c00e81021..6edaf5cb957c 100644
--- a/graphics/podofo/Makefile
+++ b/graphics/podofo/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	podofo
-PORTVERSION=	0.10.3
-PORTREVISION=	2
+PORTVERSION=	0.10.4
 CATEGORIES=	graphics print
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -26,7 +25,11 @@ CFLAGS+=	-I${LOCALBASE}/include/fast_float
 CMAKE_ARGS=	-DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \
 		-DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \
 		-DOPENSSL_LIBRARIES=${OPENSSLLIB}
-CMAKE_OFF=	PODOFO_BUILD_EXAMPLES PODOFO_BUILD_LIB_ONLY PODOFO_BUILD_STATIC PODOFO_BUILD_TEST PODOFO_BUILD_TOOLS
+CMAKE_OFF=	PODOFO_BUILD_EXAMPLES \
+		PODOFO_BUILD_LIB_ONLY \
+		PODOFO_BUILD_STATIC \
+		PODOFO_BUILD_TEST \
+		PODOFO_BUILD_TOOLS
 CMAKE_TESTING_ON=	PODOFO_BUILD_TEST
 USE_LDCONFIG=	yes
 
diff --git a/graphics/podofo/distinfo b/graphics/podofo/distinfo
index a91a5d664721..1d615e59deb1 100644
--- a/graphics/podofo/distinfo
+++ b/graphics/podofo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702028052
-SHA256 (podofo-podofo-0.10.3_GH0.tar.gz) = 4be2232643f9e9dd7fbb02894d5a0394c3ca2826aab179654c2cc751074825ec
-SIZE (podofo-podofo-0.10.3_GH0.tar.gz) = 1691469
+TIMESTAMP = 1726740923
+SHA256 (podofo-podofo-0.10.4_GH0.tar.gz) = 6b1b13cdfb2ba5e8bbc549df507023dd4873bc946211bc6942183b8496986904
+SIZE (podofo-podofo-0.10.4_GH0.tar.gz) = 1692182
diff --git a/graphics/podofo/files/patch-CMakeLists.txt b/graphics/podofo/files/patch-CMakeLists.txt
index b7fcad56f652..b3de1f551091 100644
--- a/graphics/podofo/files/patch-CMakeLists.txt
+++ b/graphics/podofo/files/patch-CMakeLists.txt
@@ -1,16 +1,16 @@
---- CMakeLists.txt.orig	2023-11-28 09:23:37 UTC
+--- CMakeLists.txt.orig	2024-09-12 19:14:33 UTC
 +++ CMakeLists.txt
-@@ -21,8 +21,8 @@ endif()
+@@ -21,8 +21,8 @@ set(PODOFO_VERSION_PATCH "4" CACHE STRING "Patchlevel 
  set(PODOFO_VERSION_MAJOR "0" CACHE STRING "Major part of podofo version number")
  set(PODOFO_VERSION_MINOR "10" CACHE STRING "Minor part of podofo version number")
- set(PODOFO_VERSION_PATCH "3" CACHE STRING "Patchlevel part of podofo version number")
+ set(PODOFO_VERSION_PATCH "4" CACHE STRING "Patchlevel part of podofo version number")
 -set(PODOFO_VERSION "${PODOFO_VERSION_MAJOR}.${PODOFO_VERSION_MINOR}.${PODOFO_VERSION_PATCH}")
  set(PODOFO_SOVERSION "2")
 +set(PODOFO_VERSION "${PODOFO_SOVERSION}.${PODOFO_VERSION_MAJOR}.${PODOFO_VERSION_MINOR}.${PODOFO_VERSION_PATCH}")
  
  #
  # Main includes
-@@ -149,6 +149,7 @@ else()
+@@ -149,6 +149,7 @@ endif()
      message("Libidn not found. AES-256 Encryption support will be disabled")
  endif()
  
@@ -18,7 +18,7 @@
  find_package(JPEG)
  
  if(JPEG_FOUND)
-@@ -157,7 +158,9 @@ if(JPEG_FOUND)
+@@ -157,7 +158,9 @@ endif()
  else()
      message("Libjpeg not found. JPEG support will be disabled")
  endif()
@@ -28,7 +28,7 @@
  find_package(TIFF)
  
  if(TIFF_FOUND)
-@@ -166,7 +169,9 @@ if(TIFF_FOUND)
+@@ -166,7 +169,9 @@ endif()
  else()
      message("Libtiff not found. TIFF support will be disabled")
  endif()
@@ -38,7 +38,7 @@
  find_package(PNG)
  
  if(PNG_FOUND)
-@@ -175,6 +180,7 @@ if(PNG_FOUND)
+@@ -175,6 +180,7 @@ else()
  else()
      message("LibPng not found. PNG support will be disabled")
      set(PNG_LIBRARIES "")