Control: tags -1 + pending

Dear maintainer,

I've prepared an NMU for doscan (versioned as 0.3.3-1.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards,
  Reiner
diff -u doscan-0.3.3/debian/changelog doscan-0.3.3/debian/changelog
--- doscan-0.3.3/debian/changelog
+++ doscan-0.3.3/debian/changelog
@@ -1,3 +1,11 @@
+doscan (0.3.3-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by drop dynamic exception specification, which are no longer
+    possible in C++17. (Closes: #984037)
+
+ -- Reiner Herrmann <rei...@reiner-h.de>  Sat, 15 Oct 2022 18:55:04 +0200
+
 doscan (0.3.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u doscan-0.3.3/debian/patches/series doscan-0.3.3/debian/patches/series
--- doscan-0.3.3/debian/patches/series
+++ doscan-0.3.3/debian/patches/series
@@ -1 +1,2 @@
 fix-gcc6-FTBFS.patch
+gcc12.patch
only in patch2:
unchanged:
--- doscan-0.3.3.orig/debian/patches/gcc12.patch
+++ doscan-0.3.3/debian/patches/gcc12.patch
@@ -0,0 +1,29 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Bug-Debian: https://bugs.debian.org/984037
+Description: Drop dynamic exception specification
+ Since GCC 11 C++17 is used by default.
+ Dynamic exception specifications were long deprecated
+ and got removed in C++17.
+
+--- a/src/rx.cc
++++ b/src/rx.cc
+@@ -23,7 +23,7 @@
+ 
+ // rx
+ 
+-rx::rx(const char* pattern, int options) throw (error)
++rx::rx(const char* pattern, int options)
+ {
+   const char *err;
+   int offset;
+--- a/src/rx.h
++++ b/src/rx.h
+@@ -38,7 +38,7 @@
+     int offset() const;
+   };
+ 
+-  rx(const char*, int options = 0) throw (error);
++  rx(const char*, int options = 0);
+   ~rx();
+ 
+   unsigned captures() const;

Reply via email to