[med-svn] [Git][med-team/mia][master] 2 commits: gcc-14.patch: New; fix FTBFS with GCC 14 and 15 (#1075270).
Yavor Doganov (@yavor-guest)
gitlab at salsa.debian.org
Fri Oct 17 19:26:53 BST 2025
Yavor Doganov pushed to branch master at Debian Med / mia
Commits:
491820f6 by Yavor Doganov at 2025-10-17T21:22:48+03:00
gcc-14.patch: New; fix FTBFS with GCC 14 and 15 (#1075270).
- - - - -
8bf14e93 by Yavor Doganov at 2025-10-17T21:26:04+03:00
(override_dh_auto_configure): Fix FTBFS with CMake 4 (#11132850).
- - - - -
4 changed files:
- debian/changelog
- + debian/patches/gcc-14.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,8 +1,16 @@
mia (2.4.7-14) UNRELEASED; urgency=medium
+ [ ikeadeoyin ]
* Team upload.
* Add autopkgtest
+ [ Yavor Doganov ]
+ * debian/patches/gcc-14.patch: New; fix FTBFS with GCC 14 and 15
+ (Closes: #1075270).
+ * debian/rules (override_dh_auto_configure):
+ Pass -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with CMake 4
+ (Closes: #11132850).
+
-- ikeadeoyin <ikeadeoyin at gmail.com> Wed, 18 Oct 2023 21:43:53 -0400
mia (2.4.7-13) unstable; urgency=medium
=====================================
debian/patches/gcc-14.patch
=====================================
@@ -0,0 +1,46 @@
+Description: Fix FTBFS with GCC-14.
+Bug-Debian: https://bugs.debian.org/1075270
+Author: Yavor Doganov <yavor at gnu.org>
+Forwarded: no
+Last-Update: 2025-10-17
+---
+
+--- mia.orig/mia/2d/shape.hh
++++ mia/mia/2d/shape.hh
+@@ -28,6 +28,8 @@
+
+ NS_MIA_BEGIN
+
++extern template class EXPORT_2D TShape<T2DVector, C2DBitImage>;
++
+ /// 2D shape class, see also TShape
+ typedef TShape<T2DVector, C2DBitImage> C2DShape;
+
+@@ -42,8 +44,6 @@
+ /// Plug-in handler for the shape plug-ins
+ typedef THandlerSingleton<TFactoryPluginHandler<C2DShapePlugin>> C2DShapePluginHandler;
+
+-extern template class EXPORT_2D TShape<T2DVector, C2DBitImage>;
+-
+ /**
+ Convenience function to produce a shape from a plugin
+ \param shape the description of the shape
+--- mia.orig/mia/3d/shape.hh
++++ mia/mia/3d/shape.hh
+@@ -26,6 +26,8 @@
+
+ NS_MIA_BEGIN
+
++extern template class EXPORT_3D TShape<T3DVector, C3DBitImage>;
++
+ /**
+ @ingroup misc
+ @brief a 3D bit shape for morphological processing \sa TShape
+@@ -50,7 +52,6 @@
+ */
+ typedef THandlerSingleton<TFactoryPluginHandler<C3DShapePlugin>> C3DShapePluginHandler;
+
+-extern template class EXPORT_3D TShape<T3DVector, C3DBitImage>;
+ /// @cond never
+ FACTORY_TRAIT(C3DShapePluginHandler);
+ /// @endcond
=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ vtk9.patch
openexr3.patch
fix-gcc-13.patch
fix-gsl-header-install.patch
+gcc-14.patch
=====================================
debian/rules
=====================================
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
-# -*- makefile -*-
+# -*- makefile-gmake -*-
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -34,6 +34,7 @@ endif
override_dh_auto_configure:
dh_auto_configure -- \
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DALWAYS_CREATE_DOC=$(BUILDDOC) \
-DSTRICT_DEPENDECIES=ON \
-DMIA_CREATE_MANPAGES=ON \
View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/85d7dfe10fc8cfbd89a169620894543a2850e4fa...8bf14e93c5d7b835d3b3178b87e93971fdad03f8
--
View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/85d7dfe10fc8cfbd89a169620894543a2850e4fa...8bf14e93c5d7b835d3b3178b87e93971fdad03f8
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/12a0ceae/attachment-0001.htm>
More information about the debian-med-commit
mailing list