Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
c4feffb0a1
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      utils/mandoc/patches/020-gcc10.patch

+ 11
- 0
utils/mandoc/patches/020-gcc10.patch View 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…
Cancel
Save