Control: tags 957262 + patch
Control: tags 957262 + pending

Dear maintainer,

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

--
Regards
Sudip

diff -Nru gdigi-0.4.0/debian/changelog gdigi-0.4.0/debian/changelog
--- gdigi-0.4.0/debian/changelog        2013-01-29 20:01:44.000000000 +0000
+++ gdigi-0.4.0/debian/changelog        2020-08-30 23:05:33.000000000 +0100
@@ -1,3 +1,10 @@
+gdigi (0.4.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957262)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sun, 30 Aug 2020 23:05:33 
+0100
+
 gdigi (0.4.0-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru gdigi-0.4.0/debian/patches/gcc-10.patch 
gdigi-0.4.0/debian/patches/gcc-10.patch
--- gdigi-0.4.0/debian/patches/gcc-10.patch     1970-01-01 01:00:00.000000000 
+0100
+++ gdigi-0.4.0/debian/patches/gcc-10.patch     2020-08-30 23:00:48.000000000 
+0100
@@ -0,0 +1,28 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957262
+Forwarded: no
+
+---
+
+--- gdigi-0.4.0.orig/gdigi.h
++++ gdigi-0.4.0/gdigi.h
+@@ -42,7 +42,7 @@ gboolean debug_flag_is_set (debug_flags_
+ #define GNX_CABINET_WARP 263
+ #define GNX_CHANNEL_FS_MODE 264
+ 
+-unsigned char product_id;
++extern unsigned char product_id;
+ 
+ enum {
+   GNX3K_WAH_TYPE_CRY = 129,
+@@ -1105,7 +1105,7 @@ enum {
+     GENETX_TYPE_CABINET
+ };
+ 
+-enum {
++typedef enum {
+     GENETX_CHANNEL1 = 0,
+     GENETX_CHANNEL2 = 1,
+     GENETX_CHANNEL1_CUSTOM = 2,
diff -Nru gdigi-0.4.0/debian/patches/series gdigi-0.4.0/debian/patches/series
--- gdigi-0.4.0/debian/patches/series   2013-01-29 20:01:44.000000000 +0000
+++ gdigi-0.4.0/debian/patches/series   2020-08-30 23:00:01.000000000 +0100
@@ -1,2 +1,3 @@
 01-Modify-distclean-and-install-targets.patch
 02-Update-categories-in-gdigi-desktop-file.patch
+gcc-10.patch

Reply via email to