libfuse: add patch to fix AArch64 build issue
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Feb 2013 21:53:06 +0000 (22:53 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Feb 2013 07:03:31 +0000 (08:03 +0100)
Fixes http://autobuild.buildroot.org/results/1fb89ab412935ab02494b269a367b283cf9618c1/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libfuse/libfuse-fix-aarch64-build.patch [new file with mode: 0644]

diff --git a/package/libfuse/libfuse-fix-aarch64-build.patch b/package/libfuse/libfuse-fix-aarch64-build.patch
new file mode 100644 (file)
index 0000000..3b88687
--- /dev/null
@@ -0,0 +1,22 @@
+Fix build on the AArch64 platform
+
+Upstream-Status: Submitted
+
+Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
+
+--- a/include/fuse_kernel.h
++++ b/include/fuse_kernel.h
+@@ -88,12 +88,7 @@
+ #ifndef _LINUX_FUSE_H
+ #define _LINUX_FUSE_H
+-#include <sys/types.h>
+-#define __u64 uint64_t
+-#define __s64 int64_t
+-#define __u32 uint32_t
+-#define __s32 int32_t
+-#define __u16 uint16_t
++#include <linux/types.h>
+ /*
+  * Version negotiation: