Control: tags 984256 + pending
--

Dear maintainer,

I've prepared an NMU for nextepc (versioned as 0.3.10+nods-4.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

--
Regards
Sudip

diff -Nru nextepc-0.3.10+nods/debian/changelog 
nextepc-0.3.10+nods/debian/changelog
--- nextepc-0.3.10+nods/debian/changelog        2021-02-06 16:02:21.000000000 
+0000
+++ nextepc-0.3.10+nods/debian/changelog        2022-09-04 00:29:25.000000000 
+0100
@@ -1,3 +1,11 @@
+nextepc (0.3.10+nods-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-11. (Closes: #984256)
+    - Thanks Steve for the patch.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sun, 04 Sep 2022 00:29:25 
+0100
+
 nextepc (0.3.10+nods-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru nextepc-0.3.10+nods/debian/patches/gcc-11.patch 
nextepc-0.3.10+nods/debian/patches/gcc-11.patch
--- nextepc-0.3.10+nods/debian/patches/gcc-11.patch     1970-01-01 
01:00:00.000000000 +0100
+++ nextepc-0.3.10+nods/debian/patches/gcc-11.patch     2022-09-04 
00:23:48.000000000 +0100
@@ -0,0 +1,27 @@
+Description: fix build failure with gcc-11.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/984256
+Last-Update: 2021-11-18
+
+Index: nextepc-0.3.10+nods/lib/core/test/testatomic.c
+===================================================================
+--- nextepc-0.3.10+nods.orig/lib/core/test/testatomic.c
++++ nextepc-0.3.10+nods/lib/core/test/testatomic.c
+@@ -100,7 +100,7 @@
+ 
+ static void test_casptr_equal_nonnull(abts_case *tc, void *data)
+ {
+-    int a, b;
++    int a = 0, b = 0;
+     void *target_ptr = &a;
+     void *old_ptr;
+ 
+@@ -111,7 +111,7 @@
+ 
+ static void test_casptr_notequal(abts_case *tc, void *data)
+ {
+-    int a, b;
++    int a = 0, b = 0;
+     void *target_ptr = &a;
+     void *old_ptr;
+ 
diff -Nru nextepc-0.3.10+nods/debian/patches/series 
nextepc-0.3.10+nods/debian/patches/series
--- nextepc-0.3.10+nods/debian/patches/series   2021-01-23 22:35:09.000000000 
+0000
+++ nextepc-0.3.10+nods/debian/patches/series   2022-09-04 00:23:48.000000000 
+0100
@@ -5,3 +5,4 @@
 0005-Set-install-dir-for-freediameter-libs.patch
 0006-Fix-big-endian-bug.patch
 0007-Patch-deprecated-sys-sysctl.h-problem.patch
+gcc-11.patch

Reply via email to