[med-svn] [Git][med-team/ciftilib][master] 2 commits: Fix build with CMake 4. Closes: #1112779.

Santiago Vila (@sanvila) gitlab at salsa.debian.org
Fri Oct 17 10:23:00 BST 2025



Santiago Vila pushed to branch master at Debian Med / ciftilib


Commits:
a79b3d80 by Santiago Vila at 2025-10-17T11:15:00+02:00
Fix build with CMake 4. Closes: #1112779.

- - - - -
29e5ac97 by Santiago Vila at 2025-10-17T11:16:00+02:00
Upload for unstable as 1.6.0-4

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/cmake-4.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ciftilib (1.6.0-4) unstable; urgency=medium
+
+  * Team upload.
+  * Fix build with CMake 4. Closes: #1112779.
+
+ -- Santiago Vila <sanvila at debian.org>  Fri, 17 Oct 2025 11:16:00 +0200
+
 ciftilib (1.6.0-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/cmake-4.patch
=====================================
@@ -0,0 +1,34 @@
+Description: Fix build with CMake 4
+Author: Santiago Vila <sanvila at debian.org>
+Bug-Debian: https://bugs.debian.org/1112779
+Last-Update: 2025-10-17
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,9 +3,9 @@
+ #UseDoxygen trips over a policy change in cmake 3, suppress the warning
+ CMAKE_POLICY(VERSION 2.8.7)
+ #the suggested version-type policy command doesn't shut this warning up, so set it manually
+-IF (POLICY CMP0045)
+-    CMAKE_POLICY(SET CMP0045 OLD)
+-ENDIF (POLICY CMP0045)
++# IF (POLICY CMP0045)
++#     CMAKE_POLICY(SET CMP0045 OLD)
++# ENDIF (POLICY CMP0045)
+ 
+ PROJECT(CiftiLib)
+ 
+--- a/cmake/Modules/UseDoxygen/UseDoxygen.cmake
++++ b/cmake/Modules/UseDoxygen/UseDoxygen.cmake
+@@ -135,10 +135,10 @@
+ 
+ 	configure_file("${DOXYFILE_IN}" "${DOXYFILE}" @ONLY)
+ 
+-	get_target_property(DOC_TARGET doc TYPE)
+ 	if(NOT DOC_TARGET)
+ 		add_custom_target(doc)
+ 	endif()
++	get_target_property(DOC_TARGET doc TYPE)
+ 
+ 	add_dependencies(doc doxygen)
+ endif()


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0002-Fix-compilation-with-Boost-1.71.patch
+cmake-4.patch



View it on GitLab: https://salsa.debian.org/med-team/ciftilib/-/compare/7b9c7efcb290990c6091b140aa2cba1d9906cca4...29e5ac97aba3c25b7d1d9bc15e85e176734201b9

-- 
View it on GitLab: https://salsa.debian.org/med-team/ciftilib/-/compare/7b9c7efcb290990c6091b140aa2cba1d9906cca4...29e5ac97aba3c25b7d1d9bc15e85e176734201b9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251017/5bf1fdf7/attachment-0001.htm>


More information about the debian-med-commit mailing list