[med-svn] [Git][med-team/nanopolish][master] Add patch to fix FTBFS with gcc-15 (Closes: #1097430)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Sep 20 14:43:16 BST 2025



Nilesh Patra pushed to branch master at Debian Med / nanopolish


Commits:
a1aad247 by Nilesh Patra at 2025-09-20T19:12:54+05:30
Add patch to fix FTBFS with gcc-15 (Closes: #1097430)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gcc-15.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+nanopolish (0.14.0-2) unstable; urgency=medium
+
+  * Team Upload.
+  * Add patch to fix FTBFS with gcc-15 (Closes: #1097430)
+
+ -- Nilesh Patra <nilesh at debian.org>  Sat, 20 Sep 2025 19:05:18 +0530
+
 nanopolish (0.14.0-1) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,17 @@
+--- a/src/hmm/invgauss.hpp
++++ b/src/hmm/invgauss.hpp
+@@ -34,12 +34,12 @@
+     Real_Type min() const { return 0.0; }
+     Real_Type max() const { return std::numeric_limits< Real_Type >::max(); }
+ 
+-    friend bool operator == (const inverse_gaussian_distribution& lhs, const inverse_gaussian_distribution& rhs) { return lhs.params() == rhs.params(); }
++    friend bool operator == (const inverse_gaussian_distribution& lhs, const inverse_gaussian_distribution& rhs) { return lhs.param() == rhs.param(); }
+     friend bool operator != (const inverse_gaussian_distribution& lhs, const inverse_gaussian_distribution& rhs) { return not (lhs == rhs); }
+ 
+     friend std::ostream& operator << (std::ostream& os, const inverse_gaussian_distribution& d)
+     {
+-        os << d.p.first << " " << d.p.second;
++        os << d._p.first << " " << d._p.second;
+         return os;
+     }
+     friend std::istream& operator >> (std::istream& is, inverse_gaussian_distribution& d)


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ reproducible.patch
 fix_remaining_python_interpreters.patch
 staticMinimap2Library.patch
 link_ext_slow5lib.patch
+gcc-15.patch



View it on GitLab: https://salsa.debian.org/med-team/nanopolish/-/commit/a1aad2475964f9a82e41c8e1f6a0ca0f1c1d771b

-- 
View it on GitLab: https://salsa.debian.org/med-team/nanopolish/-/commit/a1aad2475964f9a82e41c8e1f6a0ca0f1c1d771b
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/20250920/aa202090/attachment-0001.htm>


More information about the debian-med-commit mailing list