pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/cantor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 17 23:14:06 UTC 2025

Modified Files:
        pkgsrc/math/cantor: Makefile distinfo
Added Files:
        pkgsrc/math/cantor/patches:
            patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt

Log Message:
cantor: fix build with cmake 4

quiet cmake while here


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 pkgsrc/math/cantor/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/cantor/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/cantor/patches/patch-thirdparty_discount-2.2.6-patched_cmake_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/math/cantor/Makefile
diff -u pkgsrc/math/cantor/Makefile:1.137 pkgsrc/math/cantor/Makefile:1.138
--- pkgsrc/math/cantor/Makefile:1.137   Sun Jul 13 08:17:39 2025
+++ pkgsrc/math/cantor/Makefile Sun Aug 17 23:14:06 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2025/07/13 08:17:39 wiz Exp $
+# $NetBSD: Makefile,v 1.138 2025/08/17 23:14:06 wiz Exp $
 
 DISTNAME=      cantor-${KAPPSVER}
 PKGREVISION=   15
@@ -17,9 +17,8 @@ USE_TOOLS+=   msgmerge pkg-config
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_R=TRUE
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_LuaJIT=TRUE
 CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING=OFF
-
-#  only try to build python3 support
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+CMAKE_CONFIGURE_ARGS+= -Wno-dev
 
 REPLACE_SH+=   src/backends/sage/cantor-execsage
 

Index: pkgsrc/math/cantor/distinfo
diff -u pkgsrc/math/cantor/distinfo:1.18 pkgsrc/math/cantor/distinfo:1.19
--- pkgsrc/math/cantor/distinfo:1.18    Tue Feb  6 11:17:32 2024
+++ pkgsrc/math/cantor/distinfo Sun Aug 17 23:14:06 2025
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.18 2024/02/06 11:17:32 markd Exp $
+$NetBSD: distinfo,v 1.19 2025/08/17 23:14:06 wiz Exp $
 
 BLAKE2s (cantor-23.08.4.tar.xz) = c7dc30616c61aa6407ab266e7db826f451beacdeedb4bfdaa8c888f2e5d987f1
 SHA512 (cantor-23.08.4.tar.xz) = fa829a9260164d596fa9383a109a37da1f669d0ffb43292fb32ba36a12144f7e532f78fff65cf50b7805b9325163733d3df195404ee0f2618a06d9874a1641d6
 Size (cantor-23.08.4.tar.xz) = 9285972 bytes
 SHA1 (patch-src_lib_jupyterutils.cpp) = d5af7e37e59bc7475112e22d5b37cc31a134fcbb
+SHA1 (patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt) = 892695a7421024580d595b99f7b81c7f08830466

Added files:

Index: pkgsrc/math/cantor/patches/patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt
diff -u /dev/null pkgsrc/math/cantor/patches/patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt:1.1
--- /dev/null   Sun Aug 17 23:14:06 2025
+++ pkgsrc/math/cantor/patches/patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt     Sun Aug 17 23:14:06 2025
@@ -0,0 +1,12 @@
+$NetBSD: patch-thirdparty_discount-2.2.6-patched_cmake_CMakeLists.txt,v 1.1 2025/08/17 23:14:06 wiz Exp $
+
+cmake 4 compatibility.
+
+--- thirdparty/discount-2.2.6-patched/cmake/CMakeLists.txt.orig        2025-08-17 23:12:27.767366297 +0000
++++ thirdparty/discount-2.2.6-patched/cmake/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+ 
+ project(DISCOUNT C)
+ 



Home | Main Index | Thread Index | Old Index