fuse: added patch to make this build on newer kernels.
This commit is contained in:
parent
70a6169487
commit
6ecb5a1ced
1 changed files with 12 additions and 0 deletions
12
srcpkgs/fuse/patches/fusermount.patch
Normal file
12
srcpkgs/fuse/patches/fusermount.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
CLONE_NEWNS is only defined for __USE_GNU.
|
||||
|
||||
--- util/fusermount.c.orig 2011-06-27 17:41:08.845498441 +0200
|
||||
+++ util/fusermount.c 2011-06-27 17:42:31.236498493 +0200
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <sys/fsuid.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/utsname.h>
|
||||
+#define __USE_GNU
|
||||
#include <sched.h>
|
||||
|
||||
#define FUSE_COMMFD_ENV "_FUSE_COMMFD"
|
Loading…
Reference in a new issue