Control: tags 984031 + patch
Control: tags 984031 + pending

Dear maintainer,

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

--
Regards
Sudip

diff -Nru diagnostics-0.3.3/debian/changelog diagnostics-0.3.3/debian/changelog
--- diagnostics-0.3.3/debian/changelog  2021-02-16 10:43:01.000000000 +0000
+++ diagnostics-0.3.3/debian/changelog  2022-02-07 18:37:08.000000000 +0000
@@ -1,3 +1,10 @@
+diagnostics (0.3.3-12.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to dynamic exception with gcc-11. (Closes: #984031)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Mon, 07 Feb 2022 18:37:08 
+0000
+
 diagnostics (0.3.3-12.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru diagnostics-0.3.3/debian/patches/remove-dynamic-exception.patch 
diagnostics-0.3.3/debian/patches/remove-dynamic-exception.patch
--- diagnostics-0.3.3/debian/patches/remove-dynamic-exception.patch     
1970-01-01 01:00:00.000000000 +0100
+++ diagnostics-0.3.3/debian/patches/remove-dynamic-exception.patch     
2022-02-07 18:36:35.000000000 +0000
@@ -0,0 +1,26 @@
+Description: Remove dynamic exception to fix FTBFS with gcc-11
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/984031
+Forwarded: no
+
+---
+
+--- diagnostics-0.3.3.orig/diagnostics/extensions/memory/operators.hpp
++++ diagnostics-0.3.3/diagnostics/extensions/memory/operators.hpp
+@@ -37,7 +37,6 @@
+ #include <cstdlib>
+  
+ void* operator new(::std::size_t const len) 
+-    throw(::std::bad_alloc)
+ { 
+     void* const result(malloc(len));
+     
::diagnostics::memory::Allocation_Database::register_allocation(result,len);
+@@ -59,7 +58,6 @@ void operator delete(void * const p)
+ }
+ 
+ void* operator new[](::std::size_t const len) 
+-    throw(::std::bad_alloc)
+ { 
+     void* const result(malloc(len));
+     
::diagnostics::memory::Allocation_Database::register_allocation(result,len);
diff -Nru diagnostics-0.3.3/debian/patches/series 
diagnostics-0.3.3/debian/patches/series
--- diagnostics-0.3.3/debian/patches/series     2021-02-16 10:32:11.000000000 
+0000
+++ diagnostics-0.3.3/debian/patches/series     2022-02-07 17:57:51.000000000 
+0000
@@ -5,3 +5,4 @@
 gcc-6-destructor-is-noexcept
 test-run-cleanup
 no-ltdl-convenience.patch
+remove-dynamic-exception.patch

Reply via email to