opnsense-ports/sysutils/fusefs-zip/files/patch-lib_fuse-zip.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
613 B
C++

--- lib/fuse-zip.cpp.orig 2013-07-15 16:25:13.000000000 +0400
+++ lib/fuse-zip.cpp 2013-07-15 16:25:37.000000000 +0400
@@ -426,19 +426,11 @@
return 0;
}
-#if ( __FreeBSD__ >= 10 )
-int fusezip_setxattr(const char *, const char *, const char *, size_t, int, uint32_t) {
-#else
int fusezip_setxattr(const char *, const char *, const char *, size_t, int) {
-#endif
return -ENOTSUP;
}
-#if ( __FreeBSD__ >= 10 )
-int fusezip_getxattr(const char *, const char *, char *, size_t, uint32_t) {
-#else
int fusezip_getxattr(const char *, const char *, char *, size_t) {
-#endif
return -ENOTSUP;
}