Control: tags 957226 + patch
Control: tags 957226 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru francine-0.99.8+orig/debian/changelog 
francine-0.99.8+orig/debian/changelog
--- francine-0.99.8+orig/debian/changelog       2016-01-23 12:13:30.000000000 
+0000
+++ francine-0.99.8+orig/debian/changelog       2020-11-05 17:25:48.000000000 
+0000
@@ -1,3 +1,10 @@
+francine (0.99.8+orig-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957226)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 05 Nov 2020 17:25:48 
+0000
+
 francine (0.99.8+orig-2) unstable; urgency=low
 
   * Use debian default theme again.
diff -Nru francine-0.99.8+orig/debian/patches/fix_gcc-10.patch 
francine-0.99.8+orig/debian/patches/fix_gcc-10.patch
--- francine-0.99.8+orig/debian/patches/fix_gcc-10.patch        1970-01-01 
01:00:00.000000000 +0100
+++ francine-0.99.8+orig/debian/patches/fix_gcc-10.patch        2020-11-05 
17:19:20.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/957226
+Forwarded: no
+---
+
+--- francine-0.99.8+orig.orig/src/pam_login.c
++++ francine-0.99.8+orig/src/pam_login.c
+@@ -19,6 +19,9 @@ static char * password = NULL;
+ static char * line = NULL;
+ static char * rhost = NULL;
+ 
++/* I know, this is ugly -- ak */
++char * pam_user;
++
+ FILE * username_log; /* remove this line and francine will segfault */
+ 
+ void
+--- francine-0.99.8+orig.orig/src/pam_login.h
++++ francine-0.99.8+orig/src/pam_login.h
+@@ -17,7 +17,4 @@ int pam_authenticatepam(void);
+ int pam_startpamsession(void);
+ int pam_endpamsession(void);
+ 
+-/* I know, this is ugly -- ak */
+-char * pam_user;
+-
+ #endif
diff -Nru francine-0.99.8+orig/debian/patches/series 
francine-0.99.8+orig/debian/patches/series
--- francine-0.99.8+orig/debian/patches/series  2016-01-23 12:12:14.000000000 
+0000
+++ francine-0.99.8+orig/debian/patches/series  2020-11-05 17:18:26.000000000 
+0000
@@ -4,3 +4,4 @@
 fix-names
 fix-format-string-issue
 switch-default-theme
+fix_gcc-10.patch

Reply via email to