Control: tags 957086 + patch
Control: tags 957086 + pending

Dear maintainer,

I've prepared an NMU for chordii (versioned as 4.5.3+repack-0.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru chordii-4.5.3+repack/debian/changelog 
chordii-4.5.3+repack/debian/changelog
--- chordii-4.5.3+repack/debian/changelog       2017-01-03 12:27:24.000000000 
+0000
+++ chordii-4.5.3+repack/debian/changelog       2020-08-08 20:23:47.000000000 
+0100
@@ -1,3 +1,10 @@
+chordii (4.5.3+repack-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957086)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sat, 08 Aug 2020 20:23:47 
+0100
+
 chordii (4.5.3+repack-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru chordii-4.5.3+repack/debian/patches/fix_ftbfs.patch 
chordii-4.5.3+repack/debian/patches/fix_ftbfs.patch
--- chordii-4.5.3+repack/debian/patches/fix_ftbfs.patch 1970-01-01 
01:00:00.000000000 +0100
+++ chordii-4.5.3+repack/debian/patches/fix_ftbfs.patch 2020-08-08 
20:23:23.000000000 +0100
@@ -0,0 +1,38 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957086
+Forwarded: no
+
+---
+
+--- chordii-4.5.3+repack.orig/src/chordii.h
++++ chordii-4.5.3+repack/src/chordii.h
+@@ -74,12 +74,14 @@ struct kcs {
+       int     s1,s2,s3,s4,s5,s6;
+       int     origin;
+       int     difficult;
+-      } dummy_kcs;
++      };
++extern struct kcs dummy_kcs;
+ 
+ struct chord_struct {
+       struct chord_struct *next;
+       struct kcs *chord;
+-      } dummy_chord_struct;
++      };
++extern struct chord_struct dummy_chord_struct;
+ 
+ struct sub_title_struct {
+       struct sub_title_struct *next_sub;
+--- chordii-4.5.3+repack.orig/src/grid.c
++++ chordii-4.5.3+repack/src/grid.c
+@@ -19,6 +19,8 @@
+ 
+ struct chord_struct *so_chordtab = NULL;
+ struct kcs *so_known_chords = NULL;
++struct kcs dummy_kcs;
++struct chord_struct dummy_chord_struct;
+ 
+ int   nb_chord = 0;
+ int   first_ptr = 0;
diff -Nru chordii-4.5.3+repack/debian/patches/series 
chordii-4.5.3+repack/debian/patches/series
--- chordii-4.5.3+repack/debian/patches/series  1970-01-01 01:00:00.000000000 
+0100
+++ chordii-4.5.3+repack/debian/patches/series  2020-08-08 20:23:47.000000000 
+0100
@@ -0,0 +1 @@
+fix_ftbfs.patch

Reply via email to