mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user