Package: wmwave Version: 0.4-11 Followup-For: Bug #957954 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 wmwave-0.4/debian/patches/gcc-10.patch wmwave-0.4/debian/patches/gcc-10.patch --- wmwave-0.4/debian/patches/gcc-10.patch 1969-12-31 19:00:00.000000000 -0500 +++ wmwave-0.4/debian/patches/gcc-10.patch 2021-01-07 22:03:15.000000000 -0500 @@ -0,0 +1,22 @@ +--- a/wmgeneral.h ++++ b/wmgeneral.h +@@ -36,7 +36,7 @@ + /* Global variable */ + /*******************/ + +-Display *display; ++extern Display *display; + + /***********************/ + /* Function Prototypes */ +--- a/wmwave.c ++++ b/wmwave.c +@@ -79,6 +79,8 @@ + + int mode = 0; // default: no card detected + ++Display *display; ++ + void usage(void); + void printversion(void); + void BlitString(char *name, int x, int y); diff -Nru wmwave-0.4/debian/patches/series wmwave-0.4/debian/patches/series --- wmwave-0.4/debian/patches/series 2019-10-25 17:28:57.000000000 -0400 +++ wmwave-0.4/debian/patches/series 2021-01-07 22:02:43.000000000 -0500 @@ -1,2 +1,3 @@ Debian-delta.patch Move-libraries-to-the-end.patch +gcc-10.patch