pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/threadweaver



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 11 20:37:43 UTC 2025

Modified Files:
        pkgsrc/devel/threadweaver: distinfo
Added Files:
        pkgsrc/devel/threadweaver/patches:
            patch-examples_HelloWorld_CMakeLists.txt

Log Message:
threadweaver: fix build with cmake 4

Using upstream patch


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/threadweaver/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/threadweaver/patches/patch-examples_HelloWorld_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/devel/threadweaver/distinfo
diff -u pkgsrc/devel/threadweaver/distinfo:1.19 pkgsrc/devel/threadweaver/distinfo:1.20
--- pkgsrc/devel/threadweaver/distinfo:1.19     Fri Jun  7 23:55:44 2024
+++ pkgsrc/devel/threadweaver/distinfo  Mon Aug 11 20:37:43 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.19 2024/06/07 23:55:44 markd Exp $
+$NetBSD: distinfo,v 1.20 2025/08/11 20:37:43 wiz Exp $
 
 BLAKE2s (threadweaver-5.116.0.tar.xz) = e3d2e52c060feaa2c6d6e6fb6db1eb3e070aef87b5ce604e5aeb13e3b1a6b379
 SHA512 (threadweaver-5.116.0.tar.xz) = ef365148a91a54d3252ba831c5a49fe7e369850e5d86c87173c5b621eeb1132af6eb76e33e858499c7a2135073497d05519ca9cdb906881419272387aedc16d3
 Size (threadweaver-5.116.0.tar.xz) = 1413124 bytes
+SHA1 (patch-examples_HelloWorld_CMakeLists.txt) = 6547a3472b8edd255131e904555dc05ae8cd607f
 SHA1 (patch-examples_ThumbNailer_AverageLoadManager.cpp) = a5aa7c2839ece6a213f8c70cc1ec8dd92fc55986

Added files:

Index: pkgsrc/devel/threadweaver/patches/patch-examples_HelloWorld_CMakeLists.txt
diff -u /dev/null pkgsrc/devel/threadweaver/patches/patch-examples_HelloWorld_CMakeLists.txt:1.1
--- /dev/null   Mon Aug 11 20:37:43 2025
+++ pkgsrc/devel/threadweaver/patches/patch-examples_HelloWorld_CMakeLists.txt  Mon Aug 11 20:37:43 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-examples_HelloWorld_CMakeLists.txt,v 1.1 2025/08/11 20:37:43 wiz Exp $
+
+Fix build with cmake 4.
+https://github.com/KDE/threadweaver/commit/f3e1801852a9fa27db7775131e5c00882d5d32a1
+
+--- examples/HelloWorld/CMakeLists.txt.orig    2024-05-04 11:44:11.000000000 +0000
++++ examples/HelloWorld/CMakeLists.txt
+@@ -2,15 +2,10 @@
+ # https://cmake.org/documentation/
+ # https://community.kde.org/Guidelines_and_HOWTOs/CMake
+ ##@@snippet_begin(adding_tw_1)
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.16)
+ find_package(ECM 1.1.0 REQUIRED NO_MODULE)
+ ##@@snippet_end
+ 
+-if(POLICY CMP0063)
+-    cmake_policy(SET CMP0063 NEW)
+-endif()
+-
+-
+ if (NOT TARGET KF5ThreadWeaver)
+   # Find the ThreadWeaver framework when we compiling this example stand-alone
+ ##@@snippet_begin(adding_tw_2)



Home | Main Index | Thread Index | Old Index