Control: tags 957920 + patch
Control: tags 957920 + pending
--

Dear maintainer,

I've prepared an NMU for vpcs (versioned as 0.5b2-2.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru vpcs-0.5b2/debian/changelog vpcs-0.5b2/debian/changelog
--- vpcs-0.5b2/debian/changelog 2018-06-23 14:14:38.000000000 +0100
+++ vpcs-0.5b2/debian/changelog 2020-09-06 20:00:57.000000000 +0100
@@ -1,3 +1,10 @@
+vpcs (0.5b2-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957920)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sun, 06 Sep 2020 20:00:57 
+0100
+
 vpcs (0.5b2-2.1) unstable; urgency=medium
 
   [ Daniel Lintott ]
diff -Nru vpcs-0.5b2/debian/patches/gcc-10.patch 
vpcs-0.5b2/debian/patches/gcc-10.patch
--- vpcs-0.5b2/debian/patches/gcc-10.patch      1970-01-01 01:00:00.000000000 
+0100
+++ vpcs-0.5b2/debian/patches/gcc-10.patch      2020-09-06 20:00:23.000000000 
+0100
@@ -0,0 +1,29 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957920
+Forwarded: no
+
+---
+
+--- vpcs-0.5b2.orig/src/command6.c
++++ vpcs-0.5b2/src/command6.c
+@@ -50,6 +50,7 @@ extern u_int time_tick;
+ extern int num_pths;
+ 
+ int run_net6(char *cmdstr);
++pcs vpc[MAX_NUM_PTHS];
+ 
+ #include "inet6.h"
+ extern int vinet_pton6(int af, const char * __restrict src, void * __restrict 
dst);
+--- vpcs-0.5b2.orig/src/vpcs.h
++++ vpcs-0.5b2/src/vpcs.h
+@@ -114,7 +114,7 @@ typedef struct {
+       hipv6 link6;
+ } pcs;
+ 
+-pcs vpc[MAX_NUM_PTHS];
++extern pcs vpc[MAX_NUM_PTHS];
+ 
+ #define delay_ms(s) usleep(s * 1000)
+ 
diff -Nru vpcs-0.5b2/debian/patches/series vpcs-0.5b2/debian/patches/series
--- vpcs-0.5b2/debian/patches/series    2018-06-23 14:14:38.000000000 +0100
+++ vpcs-0.5b2/debian/patches/series    2020-09-06 19:30:53.000000000 +0100
@@ -2,3 +2,4 @@
 LinuxMakefilePatch
 CreateTopLevelMakefile
 hurd_path_max
+gcc-10.patch

Reply via email to