From b0e5abb4e7f29c66578a4babd19202925da711af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 22 Aug 2018 17:16:57 +0200 Subject: [PATCH] python-llfuse: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/python-llfuse/patches/xattr.patch | 21 +++++++++++++++++++++ srcpkgs/python-llfuse/template | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python-llfuse/patches/xattr.patch 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"