Control: tags 957183 + patch
Control: tags 957183 + pending
--

Dear maintainer,

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

--
Regards
Sudip

diff -Nru eukleides-1.5.4/debian/changelog eukleides-1.5.4/debian/changelog
--- eukleides-1.5.4/debian/changelog    2020-05-29 16:05:05.000000000 +0100
+++ eukleides-1.5.4/debian/changelog    2021-01-22 21:03:48.000000000 +0000
@@ -1,3 +1,10 @@
+eukleides (1.5.4-4.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957183)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Fri, 22 Jan 2021 21:03:48 
+0000
+
 eukleides (1.5.4-4.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru eukleides-1.5.4/debian/patches/fix_gcc-10.patch 
eukleides-1.5.4/debian/patches/fix_gcc-10.patch
--- eukleides-1.5.4/debian/patches/fix_gcc-10.patch     1970-01-01 
01:00:00.000000000 +0100
+++ eukleides-1.5.4/debian/patches/fix_gcc-10.patch     2021-01-22 
21:03:24.000000000 +0000
@@ -0,0 +1,36 @@
+Description: Fix ftbfs with GCC-10
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+Bug-Debian: https://bugs.debian.org/957183
+Forwarded: no
+
+---
+
+--- eukleides-1.5.4.orig/src/common/quadrilateral.c
++++ eukleides-1.5.4/src/common/quadrilateral.c
+@@ -26,9 +26,9 @@
+ 
+ #define STO(addr) (POP(_symbol))->content->value.point = (addr)
+ 
+-double l, m, x, y, u, v;
++static double l, m, x, y, u, v;
+ 
+-_point *A, *B, *C, *D;
++static _point *A, *B, *C, *D;
+ 
+ void assign(int p, int s)
+ {
+--- eukleides-1.5.4.orig/src/common/triangle.c
++++ eukleides-1.5.4/src/common/triangle.c
+@@ -26,9 +26,9 @@
+ 
+ #define STO(addr) (POP(_symbol))->content->value.point = (addr)
+ 
+-_point *A, *B, *C;
++static _point *A, *B, *C;
+ 
+-double a, x, y;
++static double a, x, y;
+ 
+ void assign_A_B(int p)
+ {
diff -Nru eukleides-1.5.4/debian/patches/series 
eukleides-1.5.4/debian/patches/series
--- eukleides-1.5.4/debian/patches/series       2017-11-06 12:42:43.000000000 
+0000
+++ eukleides-1.5.4/debian/patches/series       2021-01-22 21:00:12.000000000 
+0000
@@ -1,3 +1,4 @@
 old-patches.diff
 spelling-mistakes.diff
 ld-as-needed.diff
+fix_gcc-10.patch

Reply via email to