summaryrefslogtreecommitdiff
path: root/net/davfs2
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-07-02 15:29:24 -0700
committerRosen Penev <rosenp@gmail.com>2020-07-02 19:17:50 -0700
commit074a524c104e3969fd1e0f9361fdcc05c35b2e9e (patch)
tree70ab741c622ec5e1764282333b6b084d154bdd19 /net/davfs2
parent371d7b3892ee596bbb2e68a28ed2c41c218730cb (diff)
davfs2: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/davfs2')
-rw-r--r--net/davfs2/Makefile2
-rw-r--r--net/davfs2/patches/400-gcc10.patch11
2 files changed, 12 insertions, 1 deletions
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 */