From 074a524c104e3969fd1e0f9361fdcc05c35b2e9e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 2 Jul 2020 15:29:24 -0700 Subject: [PATCH] davfs2: fix compilation with GCC10 Signed-off-by: Rosen Penev --- net/davfs2/Makefile | 2 +- net/davfs2/patches/400-gcc10.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/davfs2/patches/400-gcc10.patch 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 */