packages/net/davfs2/patches/010-main_code_fix.patch
Rupan d4e8a28315 lftp: updated to 4.7.1
davfs2: updated to 1.5.3 and reintroduced support for libssp

Signed-off-by: Federico Di Marco <fededim@gmail.com>
2016-04-13 01:49:25 +02:00

22 lines
542 B
Diff

--- a/src/cache.c
+++ b/src/cache.c
@@ -58,7 +58,7 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#include <sys/xattr.h>
+#include <linux/xattr.h>
#include <ne_alloc.h>
#include <ne_string.h>
--- a/src/webdav.c
+++ b/src/webdav.c
@@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures,
len = getline(&s, &n, stdin);
if (len < 0)
abort();
- if (rpmatch(s) > 0)
+ if ((s[0]=='y' || s[0]=='Y') > 0)
ret = 0;
free(s);
}