davfs2: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
371d7b3892
commit
074a524c10
2 changed files with 12 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=davfs2
|
PKG_NAME:=davfs2
|
||||||
PKG_VERSION:=1.5.5
|
PKG_VERSION:=1.5.5
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SAVANNAH/davfs2
|
PKG_SOURCE_URL:=@SAVANNAH/davfs2
|
||||||
|
|
11
net/davfs2/patches/400-gcc10.patch
Normal file
11
net/davfs2/patches/400-gcc10.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/src/dav_coda.c
|
||||||
|
+++ b/src/dav_coda.c
|
||||||
|
@@ -97,7 +97,7 @@ static unsigned int blocksize;
|
||||||
|
static size_t alignment;
|
||||||
|
|
||||||
|
/* Send debug messages to syslog if != 0. */
|
||||||
|
-int debug;
|
||||||
|
+extern int debug;
|
||||||
|
|
||||||
|
|
||||||
|
/* Private function prototypes */
|
Loading…
Reference in a new issue