Merge pull request #12702 from neheb/davf

davfs2: fix compilation with GCC10
This commit is contained in:
Rosen Penev 2020-07-03 07:02:53 -07:00 committed by GitHub
commit cfa7b85ae4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View file

@ -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

View 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 */