pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/yaml-cpp
Module Name: pkgsrc
Committed By: wiz
Date: Wed Aug 13 06:08:55 UTC 2025
Modified Files:
pkgsrc/textproc/yaml-cpp: distinfo
Added Files:
pkgsrc/textproc/yaml-cpp/patches: patch-CMakeLists.txt
patch-test_CMakeLists.txt
Log Message:
yaml-cpp: fix build with cmake 4
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/yaml-cpp/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/yaml-cpp/patches/patch-test_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/textproc/yaml-cpp/distinfo
diff -u pkgsrc/textproc/yaml-cpp/distinfo:1.12 pkgsrc/textproc/yaml-cpp/distinfo:1.13
--- pkgsrc/textproc/yaml-cpp/distinfo:1.12 Wed Aug 23 08:05:02 2023
+++ pkgsrc/textproc/yaml-cpp/distinfo Wed Aug 13 06:08:55 2025
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.12 2023/08/23 08:05:02 adam Exp $
+$NetBSD: distinfo,v 1.13 2025/08/13 06:08:55 wiz Exp $
BLAKE2s (yaml-cpp-0.8.0.tar.gz) = cc80f79c5c4368a03088504a1a3e72d5742d07376d60ebab474621edb63c7880
SHA512 (yaml-cpp-0.8.0.tar.gz) = aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e
Size (yaml-cpp-0.8.0.tar.gz) = 1017151 bytes
+SHA1 (patch-CMakeLists.txt) = 0f139e0409583a3e4a73a508cb9b4cf5794cc5bf
+SHA1 (patch-test_CMakeLists.txt) = f1d8151e3004806bafa835bba818549c656b671e
Added files:
Index: pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt:1.3
--- /dev/null Wed Aug 13 06:08:55 2025
+++ pkgsrc/textproc/yaml-cpp/patches/patch-CMakeLists.txt Wed Aug 13 06:08:55 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.3 2025/08/13 06:08:55 wiz Exp $
+
+https://github.com/jbeder/yaml-cpp/commit/c9371de7836d113c0b14bfa15ca70f00ebb3ac6f
+
+--- CMakeLists.txt.orig 2025-08-13 06:07:23.649703193 +0000
++++ CMakeLists.txt
+@@ -1,5 +1,6 @@
+-# 3.5 is actually available almost everywhere, but this a good minimum
+-cmake_minimum_required(VERSION 3.4)
++# 3.5 is actually available almost everywhere.
++# 3.30 as the upper policy limit avoids CMake deprecation warnings.
++cmake_minimum_required(VERSION 3.5...3.30)
+
+ # enable MSVC_RUNTIME_LIBRARY target property
+ # see https://cmake.org/cmake/help/latest/policy/CMP0091.html
Index: pkgsrc/textproc/yaml-cpp/patches/patch-test_CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/yaml-cpp/patches/patch-test_CMakeLists.txt:1.1
--- /dev/null Wed Aug 13 06:08:55 2025
+++ pkgsrc/textproc/yaml-cpp/patches/patch-test_CMakeLists.txt Wed Aug 13 06:08:55 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-test_CMakeLists.txt,v 1.1 2025/08/13 06:08:55 wiz Exp $
+
+https://github.com/jbeder/yaml-cpp/commit/c9371de7836d113c0b14bfa15ca70f00ebb3ac6f
+
+--- test/CMakeLists.txt.orig 2025-08-13 06:07:49.562439652 +0000
++++ test/CMakeLists.txt
+@@ -2,7 +2,6 @@ find_package(Threads REQUIRED)
+
+ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
+ set(BUILD_MOCK ON CACHE BOOL "" FORCE)
+-set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
+
+ add_subdirectory(
+ "${CMAKE_CURRENT_SOURCE_DIR}/gtest-1.11.0"
Home |
Main Index |
Thread Index |
Old Index