Package: fuzz Version: 0.6-19 Followup-For: Bug #967987 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/glibc-2.32.patch: Fix FTBFS against glibc 2.32 by using strerror() instead of sys_errlist. Thanks for considering the patch. Logan
diff -Nru fuzz-0.6/debian/patches/glibc-2.32.patch fuzz-0.6/debian/patches/glibc-2.32.patch --- fuzz-0.6/debian/patches/glibc-2.32.patch 1969-12-31 19:00:00.000000000 -0500 +++ fuzz-0.6/debian/patches/glibc-2.32.patch 2021-01-06 14:49:40.000000000 -0500 @@ -0,0 +1,11 @@ +--- a/fuzz.c ++++ b/fuzz.c +@@ -814,7 +814,7 @@ + + execv(progname,arguments); + write(cpy_stderr,"Exec failed.\n",strlen("Exec failed.\n")); +- write(cpy_stderr,sys_errlist[errno],strlen(sys_errlist[errno])); ++ write(cpy_stderr,strerror(errno),strlen(strerror(errno))); + exit(CANT_FORK_EXIT); + } + diff -Nru fuzz-0.6/debian/patches/series fuzz-0.6/debian/patches/series --- fuzz-0.6/debian/patches/series 2016-10-19 02:16:45.000000000 -0400 +++ fuzz-0.6/debian/patches/series 2021-01-06 14:48:17.000000000 -0500 @@ -1,3 +1,4 @@ 10-fuzz.1-manpage-fixes.patch 10-fuzz.1-manpage-fixes=11-newlines.patch 20-fuzz.c--option-chroot.patch +glibc-2.32.patch