Patchwork libfuse: add patch to fix AArch64 build issue

login
register
mail settings
Submitter Thomas Petazzoni
Date Feb. 3, 2013, 9:53 p.m.
Message ID <1359928386-6044-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/217811/
State Accepted
Commit c118c4350b38d2c936afbe2d696229eb8dd7ae8e
Headers show

Comments

Thomas Petazzoni - Feb. 3, 2013, 9:53 p.m.
Fixes http://autobuild.buildroot.org/results/1fb89ab412935ab02494b269a367b283cf9618c1/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@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
Peter Korsgaard - Feb. 4, 2013, 7:04 a.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes http://autobuild.buildroot.org/results/1fb89ab412935ab02494b269a367b283cf9618c1/build-end.log
 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

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@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: