fuse: added patch to make this build on newer kernels.

This commit is contained in:
Juan RP 2011-07-03 13:05:44 +02:00
parent 70a6169487
commit 6ecb5a1ced

View 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"