Control: tags 957102 + patch
Control: tags 957102 + pending

Dear maintainer,

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

--
Regards
Sudip

diff -Nru cpm-0.32/debian/changelog cpm-0.32/debian/changelog
--- cpm-0.32/debian/changelog   2016-12-06 20:07:53.000000000 +0000
+++ cpm-0.32/debian/changelog   2020-08-18 19:15:38.000000000 +0100
@@ -1,3 +1,10 @@
+cpm (0.32-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957102)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Tue, 18 Aug 2020 19:15:38 
+0100
+
 cpm (0.32-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cpm-0.32/debian/patches/fix_ftbfs.patch 
cpm-0.32/debian/patches/fix_ftbfs.patch
--- cpm-0.32/debian/patches/fix_ftbfs.patch     1970-01-01 01:00:00.000000000 
+0100
+++ cpm-0.32/debian/patches/fix_ftbfs.patch     2020-08-18 19:15:38.000000000 
+0100
@@ -0,0 +1,32 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957102
+Forwarded: no
+
+---
+
+--- cpm-0.32.orig/configuration.c
++++ cpm-0.32/configuration.c
+@@ -33,6 +33,8 @@
+ #include "listhandler.h"
+ #include "memory.h"
+ 
++cpmconfig_t*  config;
++cpmruntime_t* runtime;
+ 
+ /* 
#############################################################################
+  *
+--- cpm-0.32.orig/configuration.h
++++ cpm-0.32/configuration.h
+@@ -100,8 +100,8 @@ typedef struct
+ /* 
#############################################################################
+  * global variables
+  */
+-cpmconfig_t*            config;
+-cpmruntime_t*           runtime;
++extern cpmconfig_t*            config;
++extern cpmruntime_t*           runtime;
+ 
+ #define CRACKLIB_OFF    0
+ #define CRACKLIB_ON     1
diff -Nru cpm-0.32/debian/patches/series cpm-0.32/debian/patches/series
--- cpm-0.32/debian/patches/series      1970-01-01 01:00:00.000000000 +0100
+++ cpm-0.32/debian/patches/series      2020-08-18 19:10:09.000000000 +0100
@@ -0,0 +1 @@
+fix_ftbfs.patch

Reply via email to