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 <rosenp@gmail.com>
This commit is contained in:
parent
03515d00cd
commit
c4feffb0a1
1 changed files with 11 additions and 0 deletions
11
utils/mandoc/patches/020-gcc10.patch
Normal file
11
utils/mandoc/patches/020-gcc10.patch
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue