pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/apngasm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Oct 17 08:08:32 UTC 2025

Modified Files:
        pkgsrc/graphics/apngasm: distinfo
Added Files:
        pkgsrc/graphics/apngasm/patches: patch-cli_CMakeLists.txt
            patch-lib_CMakeLists.txt

Log Message:
apngasm: fix build with boost 1.89


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/apngasm/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/apngasm/patches/patch-cli_CMakeLists.txt \
    pkgsrc/graphics/apngasm/patches/patch-lib_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/apngasm/distinfo
diff -u pkgsrc/graphics/apngasm/distinfo:1.1 pkgsrc/graphics/apngasm/distinfo:1.2
--- pkgsrc/graphics/apngasm/distinfo:1.1        Thu Aug 17 20:48:44 2023
+++ pkgsrc/graphics/apngasm/distinfo    Fri Oct 17 08:08:32 2025
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1 2023/08/17 20:48:44 tsutsui Exp $
+$NetBSD: distinfo,v 1.2 2025/10/17 08:08:32 wiz Exp $
 
 BLAKE2s (apngasm-3.1.10.tar.gz) = 3a0c37422e74267832c3523022af45e675dba78726b664ed5ed8f0d1dab35e7e
 SHA512 (apngasm-3.1.10.tar.gz) = 670d75251ddc771f9b2b4a1f401066f2012a6814bec781b918f1d9e8960835654c66c3d19b4c8920d5186d85af12cdc4bba8b61c8f3d349b4fc70513d8ecb34e
 Size (apngasm-3.1.10.tar.gz) = 620031 bytes
+SHA1 (patch-cli_CMakeLists.txt) = 455dce33ad6b1a2bf69b838d116be207f7beeaae
+SHA1 (patch-lib_CMakeLists.txt) = e6a2eec9e68156766c668d084f217cc2182d968d

Added files:

Index: pkgsrc/graphics/apngasm/patches/patch-cli_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/apngasm/patches/patch-cli_CMakeLists.txt:1.1
--- /dev/null   Fri Oct 17 08:08:32 2025
+++ pkgsrc/graphics/apngasm/patches/patch-cli_CMakeLists.txt    Fri Oct 17 08:08:32 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-cli_CMakeLists.txt,v 1.1 2025/10/17 08:08:32 wiz Exp $
+
+boost 1.89 made system header-only.
+
+--- cli/CMakeLists.txt.orig    2025-10-17 08:06:16.222044715 +0000
++++ cli/CMakeLists.txt
+@@ -34,7 +34,7 @@ endif ()
+ if (APPLE OR WIN32)
+   set(Boost_USE_STATIC_LIBS ON)
+ endif ()
+-find_package(Boost REQUIRED COMPONENTS program_options regex system)
++find_package(Boost REQUIRED COMPONENTS program_options regex)
+ include_directories(${Boost_INCLUDE_DIRS})
+ 
+ # Generate executable
Index: pkgsrc/graphics/apngasm/patches/patch-lib_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/apngasm/patches/patch-lib_CMakeLists.txt:1.1
--- /dev/null   Fri Oct 17 08:08:32 2025
+++ pkgsrc/graphics/apngasm/patches/patch-lib_CMakeLists.txt    Fri Oct 17 08:08:32 2025
@@ -0,0 +1,20 @@
+$NetBSD: patch-lib_CMakeLists.txt,v 1.1 2025/10/17 08:08:32 wiz Exp $
+
+boost 1.89 made system header-only.
+
+--- lib/CMakeLists.txt.orig    2021-11-26 06:44:20.000000000 +0000
++++ lib/CMakeLists.txt
+@@ -85,10 +85,10 @@ target_link_libraries(${APNGASM_STATIC_L
+ #endif ()
+ #set(Boost_USE_STATIC_LIBS OFF)
+ #SET(CMAKE_FIND_LIBRARY_SUFFIXES .dll.a .a .lib ${CMAKE_FIND_LIBRARY_SUFFIXES})
+-find_package(Boost REQUIRED COMPONENTS program_options regex system)
++find_package(Boost REQUIRED COMPONENTS program_options regex)
+ include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
+-target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system)
+-target_link_libraries(${APNGASM_STATIC_LIB_TARGET} Boost::program_options Boost::regex Boost::system)
++target_link_libraries(${APNGASM_DYNAMIC_LIB_TARGET} Boost::program_options Boost::regex)
++target_link_libraries(${APNGASM_STATIC_LIB_TARGET} Boost::program_options Boost::regex)
+ 
+ get_target_property(APNGASM_DYNAMIC_LIB_TARGET_NAME ${APNGASM_DYNAMIC_LIB_TARGET} OUTPUT_NAME)
+ get_target_property(APNGASM_STATIC_LIB_TARGET_NAME ${APNGASM_STATIC_LIB_TARGET} OUTPUT_NAME)



Home | Main Index | Thread Index | Old Index