Control: tag -1 patch

Dear maintainer,

Please consider applying below patch.

diff -Nru diagnostics-0.3.3/debian/changelog diagnostics-0.3.3/debian/changelog
--- diagnostics-0.3.3/debian/changelog	2013-07-10 15:20:14.000000000 +0100
+++ diagnostics-0.3.3/debian/changelog	2014-05-15 01:55:27.000000000 +0100
@@ -1,3 +1,10 @@
+diagnostics (0.3.3-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-4.9 (Closes: #746838)
+
+ -- Dimitri John Ledkov <[email protected]>  Thu, 15 May 2014 01:55:13 +0100
+
 diagnostics (0.3.3-9) unstable; urgency=low
 
   * Really disable stacktrace on hurd
diff -Nru diagnostics-0.3.3/debian/patches/gcc-4.9.patch diagnostics-0.3.3/debian/patches/gcc-4.9.patch
--- diagnostics-0.3.3/debian/patches/gcc-4.9.patch	1970-01-01 01:00:00.000000000 +0100
+++ diagnostics-0.3.3/debian/patches/gcc-4.9.patch	2014-05-15 02:25:23.000000000 +0100
@@ -0,0 +1,57 @@
+Description: Fix FTBFS with gcc-4.9
+Author: Dimitri John Ledkov <[email protected]>
+Bug-Debian: http://bugs.debian.org/746838
+
+--- a/diagnostics/frame/namespace.hpp
++++ b/diagnostics/frame/namespace.hpp
+@@ -50,8 +50,8 @@
+ #endif
+ 
+ #ifndef UNNAMED_NAMESPACE_BEGIN
+-#  define UNNAMED_NAMESPACE_BEGIN namespace { void dummy_for_semicolon_do_not_use()
+-#  define UNNAMED_NAMESPACE_END } void dummy_for_semicolon_do_not_use()
++#  define UNNAMED_NAMESPACE_BEGIN namespace {
++#  define UNNAMED_NAMESPACE_END }
+ #endif
+ 
+ /**
+--- a/diagnostics/extensions/memory/annotations.cpp
++++ b/diagnostics/extensions/memory/annotations.cpp
+@@ -43,7 +43,7 @@
+ using ::diagnostics::internal::to_string;
+ using ::diagnostics::internal::Logging_Implementation;
+ 
+-UNNAMED_NAMESPACE_BEGIN;
++UNNAMED_NAMESPACE_BEGIN
+ 
+ char const * block_name(bool const log,bool const check)
+ {
+@@ -55,7 +55,7 @@
+ 	return "MEMORY: Analysis";
+ }
+ 
+-UNNAMED_NAMESPACE_END;
++UNNAMED_NAMESPACE_END
+ 
+ DIAGNOSTICS_NAMESPACE_BEGIN;
+ MEMORY_NAMESAPCE_BEGIN;
+--- a/diagnostics/unittest/test_system/test_run_result.cpp
++++ b/diagnostics/unittest/test_system/test_run_result.cpp
+@@ -43,7 +43,7 @@
+ 
+ #include <iomanip>
+ 
+-UNNAMED_NAMESPACE_BEGIN;
++UNNAMED_NAMESPACE_BEGIN
+ 
+ void check_levels(::diagnostics::Level_t const build_level,
+ 		  ::diagnostics::Level_t const target_level)
+@@ -67,7 +67,7 @@
+ 	throw Test_System_Exception("Build_Level must greater or equal than the target_level");
+ }
+ 
+-UNNAMED_NAMESPACE_END;
++UNNAMED_NAMESPACE_END
+ 
+ DIAGNOSTICS_NAMESPACE_BEGIN;
+ UNITTEST_NAMESPACE_BEGIN;
diff -Nru diagnostics-0.3.3/debian/patches/series diagnostics-0.3.3/debian/patches/series
--- diagnostics-0.3.3/debian/patches/series	2013-07-09 16:29:45.000000000 +0100
+++ diagnostics-0.3.3/debian/patches/series	2014-05-15 02:10:41.000000000 +0100
@@ -1,2 +1,3 @@
 stacktrace-fixes
 automake-1.12
+gcc-4.9.patch
Regards,

Dimitri.

Reply via email to