From: Rosen Penev Date: Tue, 16 Mar 2021 04:13:37 +0000 (-0700) Subject: mandoc: fix compilation with GCC10 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c4feffb0a149ba7878936f94df3ec02105a69ebe;p=openwrt-packages.git mandoc: fix compilation with GCC10 This is probably fixed in CVS. Unfortunately, I have no idea how to import such a patch. Signed-off-by: Rosen Penev --- diff --git a/utils/mandoc/patches/020-gcc10.patch b/utils/mandoc/patches/020-gcc10.patch new file mode 100644 index 000000000..fc7232452 --- /dev/null +++ b/utils/mandoc/patches/020-gcc10.patch @@ -0,0 +1,11 @@ +--- a/compat_getline.c ++++ b/compat_getline.c +@@ -2,7 +2,7 @@ + + #if HAVE_GETLINE + +-int dummy; ++extern int dummy; + + #else +