3
0
Fork 0
forked from mirrors/nixpkgs

smbnetfs: Fix build against attr>=2.4.48

The xattr.h header was removed from libattr in v2.4.48 but added to glibc in 2.27.
The location moved from attr/xattr.h to sys/xattr.h.
This commit is contained in:
Josef Kemetmüller 2019-03-04 21:17:16 +01:00
parent 47f8a520f8
commit b7c146c08e

View file

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoconf ];
buildInputs = [ fuse samba glib attr libsecret ];
postPatch = ''
substituteInPlace src/function.c --replace "attr/xattr.h" "sys/xattr.h"
'';
meta = with stdenv.lib; {
description = "A FUSE FS for mounting Samba shares";
maintainers = with maintainers; [ raskin ];