Source: stimfit
Version: 0.16.11-2
Severity: important
Tags: ftbfs patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

During a test rebuild of HDF5's reverse dependencies against HDF5 2.1.0
currently in experimental, stimfit FTBFS because its check on HDF5
version doesn't expect a majot release number > 1.

The attached patch fixes this issue and works with both HDF5 releases
1.14.6 and 2.1.0.

Best,
_g.


- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-44-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmopLSsACgkQ7+hsbH/+
z4PmoggAkV7hRcKzhedaRxt4YQ5PRdTmz1SVfI6QMWOoOxDUzRvuW/ZbdGwH9qET
CgaX8w7FIJ5A55vX/VnSwLElExS41L+bwsYkutEC8wjE7GMxgWFQI3M+gg5WBo29
hznQYup1GdKseUVl+aFqTO46ZbEc6LAEqbjt239IKpVZkWm2DgwBUkzHM6nfXdFk
6/cE2tSFO6umzflkpG+NtAsbHyQ6hMFQPIPrbJ1ysBlywrFxblV47Ex+KPe6KfgH
Avw0Exp2+DEQ1vm5IVWghINcZn9Gxc8giVCTzK1TVyoUC1Cl3Lq8dLZEcogukWLh
lzRdrlCcb/JVgF9qerc8j+gCZZV/iA==
=c0wC
-----END PGP SIGNATURE-----
diff -Nru stimfit-0.16.11/debian/changelog stimfit-0.16.11/debian/changelog
--- stimfit-0.16.11/debian/changelog    2026-03-02 09:29:04.000000000 +0100
+++ stimfit-0.16.11/debian/changelog    2026-06-05 15:24:07.000000000 +0200
@@ -1,3 +1,10 @@
+stimfit (0.16.11-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS against HDF5 2.1.0
+
+ -- Gilles Filippini <[email protected]>  Fri, 05 Jun 2026 15:24:07 +0200
+
 stimfit (0.16.11-2) unstable; urgency=medium
 
   * Packaging tidy and dh improvements
diff -Nru stimfit-0.16.11/debian/patches/hdf5-2.1.0.patch 
stimfit-0.16.11/debian/patches/hdf5-2.1.0.patch
--- stimfit-0.16.11/debian/patches/hdf5-2.1.0.patch     1970-01-01 
01:00:00.000000000 +0100
+++ stimfit-0.16.11/debian/patches/hdf5-2.1.0.patch     2026-06-05 
15:24:07.000000000 +0200
@@ -0,0 +1,13 @@
+Index: stimfit-0.16.11/src/libstfio/hdf5/hdf5lib.cpp
+===================================================================
+--- stimfit-0.16.11.orig/src/libstfio/hdf5/hdf5lib.cpp
++++ stimfit-0.16.11/src/libstfio/hdf5/hdf5lib.cpp
+@@ -13,7 +13,7 @@
+ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
+ 
+ #include "hdf5.h"
+-#if H5_VERS_MINOR > 6
++#if H5_VERS_MAJOR > 1 || H5_VERS_MINOR > 6
+   #include "hdf5_hl.h"
+ #else
+   #include "H5TA.h"
diff -Nru stimfit-0.16.11/debian/patches/series 
stimfit-0.16.11/debian/patches/series
--- stimfit-0.16.11/debian/patches/series       1970-01-01 01:00:00.000000000 
+0100
+++ stimfit-0.16.11/debian/patches/series       2026-06-05 15:24:07.000000000 
+0200
@@ -0,0 +1 @@
+hdf5-2.1.0.patch

Reply via email to