Package: sptk Version: 3.9-2 Followup-For: Bug #957839 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu hirsute ubuntu-patch X-Debbugs-Cc: lo...@ubuntu.com Control: tags -1 patch
Hi, In Ubuntu, the attached patch was applied to achieve the following: * d/p/gcc-10.patch: Fix compilation with GCC 10. Thanks for considering the patch. Logan
diff -Nru sptk-3.9/debian/patches/gcc-10.patch sptk-3.9/debian/patches/gcc-10.patch --- sptk-3.9/debian/patches/gcc-10.patch 1969-12-31 19:00:00.000000000 -0500 +++ sptk-3.9/debian/patches/gcc-10.patch 2021-01-09 17:36:40.000000000 -0500 @@ -0,0 +1,22 @@ +--- a/bin/psgr/psgr.h ++++ b/bin/psgr/psgr.h +@@ -48,7 +48,7 @@ + int bottom; + int left; + int right; +-} bbm; ++}; + + struct page_media { + char *size; +--- a/bin/psgr/psgr.c ++++ b/bin/psgr/psgr.c +@@ -106,6 +106,8 @@ + "Landscape", + }; + ++struct bbmargin bbm; ++ + + /* Default Values */ + #define MEDIA "FALSE" diff -Nru sptk-3.9/debian/patches/series sptk-3.9/debian/patches/series --- sptk-3.9/debian/patches/series 2018-05-08 09:13:22.000000000 -0400 +++ sptk-3.9/debian/patches/series 2021-01-09 17:36:16.000000000 -0500 @@ -2,3 +2,4 @@ 1005_support_stdin_and_stout_on_getfp.patch 1008_add_peak_cross_correlation_output_to_pitch.patch 1009_add_nacorr_and_str_commands.patch +gcc-10.patch