ports/devel/py-llfuse/files/patch-src_xattr.h
Kurt Jaeger efeb9064c4 New port: devel/py-llfuse
Python-LLFUSE is a set of Python bindings for the low level FUSE API. It
requires at least FUSE 2.8.0 and supports both Python 2.x and 3.x. It runs
under Linux, OS-X, FreeBSD and NetBSD.

WWW: https://bitbucket.org/nikratio/python-llfuse

PR:		203759
Submitted by:	Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
2016-03-22 05:13:29 +00:00

20 lines
818 B
C

--- src/xattr.h.orig 2016-02-23 17:14:08 UTC
+++ src/xattr.h
@@ -37,7 +37,7 @@ static ssize_t getxattr_p (char *path, c
UNUSED int namespace) {
return getxattr(path, name, value, size);
}
-static int setxattr_p (char *path, char *name, void *value, size_t size,
+static ssize_t setxattr_p (char *path, char *name, void *value, size_t size,
UNUSED int namespace) {
return setxattr(path, name, value, size, 0);
}
@@ -81,7 +81,7 @@ static ssize_t getxattr_p (char *path, c
return ret;
}
-static int setxattr_p (char *path, char *name, void *value, size_t size,
+static ssize_t setxattr_p (char *path, char *name, void *value, size_t size,
int namespace) {
return extattr_set_file(path, namespace, name, value, size);
}