Control: tags 1075199 + patch

Dear maintainer,

I've uploaded an NMU for libpwiz (versioned as 3.0.18342-4.2).
The diff is attached to this message.

cu
Adrian
diffstat for libpwiz-3.0.18342 libpwiz-3.0.18342

 changelog           |    7 +++++++
 patches/gcc14.patch |   20 ++++++++++++++++++++
 patches/series      |    1 +
 3 files changed, 28 insertions(+)

diff -Nru libpwiz-3.0.18342/debian/changelog libpwiz-3.0.18342/debian/changelog
--- libpwiz-3.0.18342/debian/changelog	2024-02-28 18:35:13.000000000 +0200
+++ libpwiz-3.0.18342/debian/changelog	2025-04-11 09:11:53.000000000 +0300
@@ -1,3 +1,10 @@
+libpwiz (3.0.18342-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport fix for FTBFS with gcc 14. (Closes: #1075199)
+
+ -- Adrian Bunk <b...@debian.org>  Fri, 11 Apr 2025 09:11:53 +0300
+
 libpwiz (3.0.18342-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libpwiz-3.0.18342/debian/patches/gcc14.patch libpwiz-3.0.18342/debian/patches/gcc14.patch
--- libpwiz-3.0.18342/debian/patches/gcc14.patch	1970-01-01 02:00:00.000000000 +0200
+++ libpwiz-3.0.18342/debian/patches/gcc14.patch	2025-04-11 09:11:53.000000000 +0300
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with gcc 14
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/1075199
+Forwarded: https://github.com/ProteoWizard/pwiz/commit/05d0d3e294a7741336a040181845f00a9b977c52
+
+--- libpwiz-3.0.18342.orig/pwiz/data/common/BinaryIndexStream.cpp
++++ libpwiz-3.0.18342/pwiz/data/common/BinaryIndexStream.cpp
+@@ -154,12 +154,6 @@ class stream_vector_const_iterator
+             return (that.end_ - that.begin_) / that.value_size_;
+ 	}
+ 
+-	reference operator[](difference_type _Off) const
+-	{
+-        next_ = _Off * value_size_;
+-		return (**this);
+-	}
+-
+ 	bool operator==(const _Myt& that) const
+ 	{
+         bool gotThis = this->streamPtr_.get() != NULL;
diff -Nru libpwiz-3.0.18342/debian/patches/series libpwiz-3.0.18342/debian/patches/series
--- libpwiz-3.0.18342/debian/patches/series	2020-06-12 01:10:46.000000000 +0300
+++ libpwiz-3.0.18342/debian/patches/series	2025-04-11 09:11:53.000000000 +0300
@@ -1,2 +1,3 @@
 gcc-boost-fail-cast-tribool-to-bool-force-it.patch
 
+gcc14.patch

Reply via email to