pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/qimageblitz



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 17 09:11:33 UTC 2025

Modified Files:
        pkgsrc/graphics/qimageblitz: Makefile distinfo
Added Files:
        pkgsrc/graphics/qimageblitz/patches: patch-CMakeLists.txt

Log Message:
qimageblitz: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/qimageblitz/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/qimageblitz/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/qimageblitz/patches/patch-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/qimageblitz/Makefile
diff -u pkgsrc/graphics/qimageblitz/Makefile:1.40 pkgsrc/graphics/qimageblitz/Makefile:1.41
--- pkgsrc/graphics/qimageblitz/Makefile:1.40   Thu Apr 24 14:14:36 2025
+++ pkgsrc/graphics/qimageblitz/Makefile        Sun Aug 17 09:11:33 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2025/04/24 14:14:36 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2025/08/17 09:11:33 wiz Exp $
 
 DISTNAME=      qimageblitz-0.0.6
 PKGREVISION=   29
@@ -13,6 +13,8 @@ COMMENT=      Interm graphical effect and fil
 USE_LANGUAGES+=        c c++
 USE_CMAKE=     yes
 
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 #BUILD_MAKE_FLAGS+=    VERBOSE=1
 
 PKGCONFIG_OVERRIDE+=   blitz/qimageblitz.pc.cmake

Index: pkgsrc/graphics/qimageblitz/distinfo
diff -u pkgsrc/graphics/qimageblitz/distinfo:1.8 pkgsrc/graphics/qimageblitz/distinfo:1.9
--- pkgsrc/graphics/qimageblitz/distinfo:1.8    Fri Apr 26 15:32:01 2024
+++ pkgsrc/graphics/qimageblitz/distinfo        Sun Aug 17 09:11:33 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2024/04/26 15:32:01 wiz Exp $
+$NetBSD: distinfo,v 1.9 2025/08/17 09:11:33 wiz Exp $
 
 BLAKE2s (qimageblitz-0.0.6.tar.bz2) = c88b6dd40a81539a75fa889a1b4917d8e430975c9f725f6a8995be6e7663384f
 SHA512 (qimageblitz-0.0.6.tar.bz2) = dbd506c01622824efdec69640eb95e737d7848fa15d33351084a6499ca2321d7bc08e080d1e443f8ab9015cd2967c10d9b5aa2f3c6eaa7558153821c46133af9
 Size (qimageblitz-0.0.6.tar.bz2) = 57617 bytes
+SHA1 (patch-CMakeLists.txt) = a419cf8aaa320401c0f0dffdb27efe5b1622fa22
 SHA1 (patch-blitz_CMakeLists.txt) = 031a5a4cb70fd8a5d600444ce95ebc653a66d050
 SHA1 (patch-blitz_convolve.cpp) = 300f7da93b1704a6bc7f481161c59ba110a2ebf5

Added files:

Index: pkgsrc/graphics/qimageblitz/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/qimageblitz/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sun Aug 17 09:11:33 2025
+++ pkgsrc/graphics/qimageblitz/patches/patch-CMakeLists.txt    Sun Aug 17 09:11:33 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/17 09:11:33 wiz Exp $
+
+cmake 4 compatibility.
+
+--- CMakeLists.txt.orig        2025-08-17 09:10:32.960592633 +0000
++++ CMakeLists.txt
+@@ -1,5 +1,7 @@
+ project(blitz)
+ 
++cmake_minimum_required(VERSION 3.5)
++
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules )
+ find_package(Qt4 REQUIRED)
+ # properly set up compile flags (QT_DEBUG/QT_NO_DEBUG, ...)



Home | Main Index | Thread Index | Old Index