Control: tags 957132 + patch
Control: tags 957132 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru dibbler-1.0.1/debian/changelog dibbler-1.0.1/debian/changelog
--- dibbler-1.0.1/debian/changelog      2015-12-10 14:02:03.000000000 +0000
+++ dibbler-1.0.1/debian/changelog      2020-10-28 20:30:23.000000000 +0000
@@ -1,3 +1,11 @@
+dibbler (1.0.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957132)
+    - Thanks to Tomek Mrugalski.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Wed, 28 Oct 2020 20:30:23 
+0000
+
 dibbler (1.0.1-1) unstable; urgency=low
 
   * The Akamai Technologies paid volunteer days release.
diff -Nru 
dibbler-1.0.1/debian/patches/0001-Fixed-compatibility-with-gcc-10.patch 
dibbler-1.0.1/debian/patches/0001-Fixed-compatibility-with-gcc-10.patch
--- dibbler-1.0.1/debian/patches/0001-Fixed-compatibility-with-gcc-10.patch     
1970-01-01 01:00:00.000000000 +0100
+++ dibbler-1.0.1/debian/patches/0001-Fixed-compatibility-with-gcc-10.patch     
2020-10-28 20:29:15.000000000 +0000
@@ -0,0 +1,46 @@
+From 6f15782cb7d559f1d7e66351a0216048693c9aac Mon Sep 17 00:00:00 2001
+From: Tomek Mrugalski <to...@isc.org>
+Date: Thu, 23 Jul 2020 23:41:25 +0200
+Subject: [PATCH] Fixed compatibility with gcc-10
+
+---
+
+upstream link: 
https://github.com/tomaszmrugalski/dibbler/commit/6f15782cb7d559f1d7e66351a0216048693c9aac
+
+ Port-linux/interface.c | 4 ++++
+ Port-linux/interface.h | 4 ++--
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/Port-linux/interface.c b/Port-linux/interface.c
+index 3e239d3a..18777e91 100644
+--- a/Port-linux/interface.c
++++ b/Port-linux/interface.c
+@@ -43,6 +43,10 @@
+ #include <linux/sockios.h>
+ #include <linux/if_ether.h>
+ 
++int interface_auto_up = 0;
++int interface_do_message = 0;
++
++
+ void daemon_log(int loglevel, const char *fmt,...)
+ {
+     char buf[255];
+diff --git a/Port-linux/interface.h b/Port-linux/interface.h
+index e986eed3..7c4a54d5 100644
+--- a/Port-linux/interface.h
++++ b/Port-linux/interface.h
+@@ -23,8 +23,8 @@
+ extern "C" {
+ #endif
+ 
+-int interface_auto_up;
+-int interface_do_message;
++extern int interface_auto_up;
++extern int interface_do_message;
+ 
+ typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t;
+ 
+-- 
+2.20.1
+
diff -Nru dibbler-1.0.1/debian/patches/series 
dibbler-1.0.1/debian/patches/series
--- dibbler-1.0.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ dibbler-1.0.1/debian/patches/series 2020-10-28 20:27:27.000000000 +0000
@@ -0,0 +1 @@
+0001-Fixed-compatibility-with-gcc-10.patch

Reply via email to