From c4feffb0a149ba7878936f94df3ec02105a69ebe Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 15 Mar 2021 21:13:37 -0700 Subject: [PATCH] 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 --- utils/mandoc/patches/020-gcc10.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/mandoc/patches/020-gcc10.patch diff --git a/utils/mandoc/patches/020-gcc10.patch b/utils/mandoc/patches/020-gcc10.patch new file mode 100644 index 0000000000..fc72324524 --- /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 +