diff -Nru mongrel2-1.12.2/debian/changelog mongrel2-1.12.2/debian/changelog --- mongrel2-1.12.2/debian/changelog 2020-01-15 19:29:16.000000000 +0000 +++ mongrel2-1.12.2/debian/changelog 2020-07-23 09:31:27.000000000 +0000 @@ -1,3 +1,9 @@ +mongrel2 (1.12.2-3) unstable; urgency=medium + + * Fix build with gcc-10 (Closes: Bug#957560) + + -- Jan Niehusmann Thu, 23 Jul 2020 11:31:27 +0200 + mongrel2 (1.12.2-2) unstable; urgency=medium * Fix crash when reading websocket packet after deliver task has stopped diff -Nru mongrel2-1.12.2/debian/patches/debian-changes mongrel2-1.12.2/debian/patches/debian-changes --- mongrel2-1.12.2/debian/patches/debian-changes 2020-01-15 19:29:16.000000000 +0000 +++ mongrel2-1.12.2/debian/patches/debian-changes 2020-07-23 09:31:27.000000000 +0000 @@ -130,6 +130,15 @@ #endif --- mongrel2-1.12.2.orig/src/unixy.h +++ mongrel2-1.12.2/src/unixy.h +@@ -38,7 +38,7 @@ + #include + #include + +-char *m2program; ++extern char *m2program; + + int Unixy_chroot(bstring path); + @@ -46,8 +46,6 @@ int Unixy_in_chroot(); int Unixy_drop_priv(bstring path);