diff --git a/srcpkgs/python-llfuse/patches/xattr.patch b/srcpkgs/python-llfuse/patches/xattr.patch new file mode 100644 index 0000000000..c91f24629f --- /dev/null +++ b/srcpkgs/python-llfuse/patches/xattr.patch @@ -0,0 +1,21 @@ +See https://bitbucket.org/nikratio/python-llfuse/commits/cec107981b03c6c3e263f21009757dec76d129e2 + +--- src/xattr.h 2016-05-24 02:53:33.000000000 +0200 ++++ src/xattr.h 2018-08-22 17:12:52.990555934 +0200 +@@ -25,7 +25,15 @@ + * Linux + */ + #if PLATFORM == PLATFORM_LINUX +-#include ++#include ++/* ++ * Newer versions of attr deprecate attr/xattr.h which defines ENOATTR as a ++ * synonym for ENODATA. To keep compatibility with the old style and the new, ++ * define this ourselves. ++ */ ++#ifndef ENOATTR ++#define ENOATTR ENODATA ++#endif + + #define EXTATTR_NAMESPACE_USER 0 + #define EXTATTR_NAMESPACE_SYSTEM 0 diff --git a/srcpkgs/python-llfuse/template b/srcpkgs/python-llfuse/template index 26036f5950..69b016e040 100644 --- a/srcpkgs/python-llfuse/template +++ b/srcpkgs/python-llfuse/template @@ -1,7 +1,7 @@ # Template file for 'python-llfuse' pkgname=python-llfuse version=1.3 -revision=1 +revision=2 wrksrc="llfuse-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools pkg-config"