Control: tags -1 patch
Hi,
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/gcc-10.diff: Remove duplicate variable declaration to fix FTBFS with
GCC 10.
Thanks for considering the patch.
Logan
diff -Nru mlucas-17.1/debian/patches/gcc-10.diff
mlucas-17.1/debian/patches/gcc-10.diff
--- mlucas-17.1/debian/patches/gcc-10.diff 1969-12-31 19:00:00.000000000
-0500
+++ mlucas-17.1/debian/patches/gcc-10.diff 2021-04-03 17:44:31.000000000
-0400
@@ -0,0 +1,10 @@
+--- a/src/gcd_lehmer.c
++++ b/src/gcd_lehmer.c
+@@ -49,7 +49,6 @@
+ WARNING: level-2 diagnostics not recommended for large
vectors!
+ */
+ int fft_gcd_debug = 0;
+- FILE *fp;
+ static char *file_access_mode[2] = {"a","w"};
+ char string0[STR_MAX_LEN];
+ #if GCD_DEBUG >= 1
diff -Nru mlucas-17.1/debian/patches/series mlucas-17.1/debian/patches/series
--- mlucas-17.1/debian/patches/series 2020-01-10 12:32:35.000000000 -0500
+++ mlucas-17.1/debian/patches/series 2021-04-03 17:44:31.000000000 -0400
@@ -3,3 +3,4 @@
fix-c-identifier-typo.diff
display-verbose-test-log.diff
python2.diff
+gcc-10.diff