Control: tags 957503 + patch
Control: tags 957503 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru lpe-1.2.8/debian/changelog lpe-1.2.8/debian/changelog
--- lpe-1.2.8/debian/changelog  2016-01-31 04:40:15.000000000 +0000
+++ lpe-1.2.8/debian/changelog  2020-11-04 22:05:00.000000000 +0000
@@ -1,3 +1,10 @@
+lpe (1.2.8-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957503)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Wed, 04 Nov 2020 22:05:00 
+0000
+
 lpe (1.2.8-2) unstable; urgency=medium
 
   * Fix too specific paths in dh_install file
diff -Nru lpe-1.2.8/debian/patches/fix_gcc-10.patch 
lpe-1.2.8/debian/patches/fix_gcc-10.patch
--- lpe-1.2.8/debian/patches/fix_gcc-10.patch   1970-01-01 01:00:00.000000000 
+0100
+++ lpe-1.2.8/debian/patches/fix_gcc-10.patch   2020-11-04 22:02:08.000000000 
+0000
@@ -0,0 +1,29 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957503
+Forwarded: no
+
+---
+
+--- lpe-1.2.8.orig/src/lpe.c
++++ lpe-1.2.8/src/lpe.c
+@@ -25,6 +25,8 @@
+ #include "strfuncs.h"
+ #include "exports.h"
+ 
++char *LPE_CONFIG_FILE;
++
+ /* A flag indicating a desire to quit the editor.  This is set whenever a
+  * command should cause an exit.
+  */
+--- lpe-1.2.8.orig/src/options.h
++++ lpe-1.2.8/src/options.h
+@@ -38,6 +38,6 @@
+ /*
+  * Other things that are used in some places...
+  */
+-char *LPE_CONFIG_FILE;
++extern char *LPE_CONFIG_FILE;
+ 
+ #endif /* LPE_OPTIONS_H */
diff -Nru lpe-1.2.8/debian/patches/series lpe-1.2.8/debian/patches/series
--- lpe-1.2.8/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
+++ lpe-1.2.8/debian/patches/series     2020-11-04 22:01:26.000000000 +0000
@@ -0,0 +1 @@
+fix_gcc-10.patch

Reply via email to