[Buildroot] [PATCH] libfuse: add patch to fix AArch64 build issue

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Feb 3 21:53:06 UTC 2013


Fixes http://autobuild.buildroot.org/results/1fb89ab412935ab02494b269a367b283cf9618c1/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/libfuse/libfuse-fix-aarch64-build.patch |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 package/libfuse/libfuse-fix-aarch64-build.patch

diff --git a/package/libfuse/libfuse-fix-aarch64-build.patch b/package/libfuse/libfuse-fix-aarch64-build.patch
new file mode 100644
index 0000000..3b88687
--- /dev/null
+++ b/package/libfuse/libfuse-fix-aarch64-build.patch
@@ -0,0 +1,22 @@
+Fix build on the AArch64 platform
+
+Upstream-Status: Submitted
+
+Signed-off-by: Riku Voipio <riku.voipio at 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:
-- 
1.7.9.5



More information about the buildroot mailing list