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:
parent
47f8a520f8
commit
b7c146c08e
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig autoconf ];
|
nativeBuildInputs = [ pkgconfig autoconf ];
|
||||||
buildInputs = [ fuse samba glib attr libsecret ];
|
buildInputs = [ fuse samba glib attr libsecret ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/function.c --replace "attr/xattr.h" "sys/xattr.h"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A FUSE FS for mounting Samba shares";
|
description = "A FUSE FS for mounting Samba shares";
|
||||||
maintainers = with maintainers; [ raskin ];
|
maintainers = with maintainers; [ raskin ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user