Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / net / davfs2 / patches / 010-main_code_fix.patch
1 --- a/src/cache.c
2 +++ b/src/cache.c
3 @@ -58,7 +58,7 @@
4  #ifdef HAVE_SYS_TYPES_H
5  #include <sys/types.h>
6  #endif
7 -#include <sys/xattr.h>
8 +#include <linux/xattr.h>
9  
10  #include <ne_alloc.h>
11  #include <ne_string.h>
12 --- a/src/webdav.c
13 +++ b/src/webdav.c
14 @@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures,
15              len = getline(&s, &n, stdin);
16              if (len < 0)
17                  abort();
18 -            if (rpmatch(s) > 0)
19 +            if ((s[0]=='y' || s[0]=='Y') > 0)
20                  ret = 0;
21              free(s);
22      }