From: Rosen Penev Date: Thu, 2 Jul 2020 22:29:24 +0000 (-0700) Subject: davfs2: fix compilation with GCC10 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=074a524c104e3969fd1e0f9361fdcc05c35b2e9e;p=openwrt-packages.git davfs2: fix compilation with GCC10 Signed-off-by: Rosen Penev --- diff --git a/net/davfs2/Makefile b/net/davfs2/Makefile index 0fc2580e0..32deede9c 100644 --- a/net/davfs2/Makefile +++ b/net/davfs2/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=davfs2 PKG_VERSION:=1.5.5 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SAVANNAH/davfs2 diff --git a/net/davfs2/patches/400-gcc10.patch b/net/davfs2/patches/400-gcc10.patch new file mode 100644 index 000000000..046c67e58 --- /dev/null +++ b/net/davfs2/patches/400-gcc10.patch @@ -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 */