summaryrefslogtreecommitdiff
path: root/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch
blob: 56b0bab4491895ac2720968c31415622cccf742b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Handle building with '-fno-common' for gcc 10.
See: https://bugs.gentoo.org/706356


--- a/src/dav_coda.c
+++ b/src/dav_coda.c
@@ -99,3 +99,3 @@ static size_t alignment;
 /* Send debug messages to syslog if != 0. */
-int debug;
+static int debug;
 
--- a/src/dav_fuse.c
+++ b/src/dav_fuse.c
@@ -86,3 +86,3 @@ static uint64_t root;
 /* Send debug messages to syslog if != 0. */
-int debug;
+static int debug;