Package: dvi2ps Version: 5.1j-1.3 Followup-For: Bug #957157 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu hirsute ubuntu-patch Control: tags -1 patch
Hi, In Ubuntu, the attached patch was applied to achieve the following: * d/p/gcc-10.patch: Mark variable as extern to fix FTBFS with GCC 10. Thanks for considering the patch. Logan
diff -Nru dvi2ps-5.1j/debian/patches/gcc-10.patch dvi2ps-5.1j/debian/patches/gcc-10.patch --- dvi2ps-5.1j/debian/patches/gcc-10.patch 1969-12-31 19:00:00.000000000 -0500 +++ dvi2ps-5.1j/debian/patches/gcc-10.patch 2021-01-19 22:25:16.000000000 -0500 @@ -0,0 +1,11 @@ +--- a/global.h ++++ b/global.h +@@ -126,7 +126,7 @@ + * Interface with device driver + */ + /* ps.c */ +-BOOLEAN landscape; ++extern BOOLEAN landscape; + float dev_fontmag(); + + /* psspecial.c */ diff -Nru dvi2ps-5.1j/debian/patches/series dvi2ps-5.1j/debian/patches/series --- dvi2ps-5.1j/debian/patches/series 2019-02-17 07:29:43.000000000 -0500 +++ dvi2ps-5.1j/debian/patches/series 2021-01-19 22:23:52.000000000 -0500 @@ -5,3 +5,4 @@ 08_kpse_set_program_name.patch 09_freetype_header.patch freetype2_pkg-config.patch +gcc-10.patch