From f3a9220d33e8a42adcb73c42d679ed8dc5dc81ac Mon Sep 17 00:00:00 2001 From: Riku Voipio Date: Mon, 21 Jan 2013 14:31:38 +0000 Subject: [PATCH] fuse: add aarch64 support u64/u32 is not defined in sys/types.h, include linux/types.h like the kernel version of fuse.h does. Patch sent to upstream mailing list. Upstream-Status: Submitted (From meta-openembedded rev: 0c7b009c99adc37d828a9587934e38130aa732c6) Signed-off-by: Riku Voipio Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- .../recipes-support/fuse/fuse-2.9.2/aarch64.patch | 20 ++++++++++++++++++++ .../meta-oe/recipes-support/fuse/fuse_2.9.2.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta-openembedded/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch diff --git a/meta-openembedded/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch b/meta-openembedded/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch new file mode 100644 index 0000000..180f544 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch @@ -0,0 +1,20 @@ +Upstream-Status: Submitted + +Signed-off-by: Riku Voipio + +--- a/include/fuse_kernel.h ++++ b/include/fuse_kernel.h +@@ -88,12 +88,7 @@ + #ifndef _LINUX_FUSE_H + #define _LINUX_FUSE_H + +-#include +-#define __u64 uint64_t +-#define __s64 int64_t +-#define __u32 uint32_t +-#define __s32 int32_t +-#define __u16 uint16_t ++#include + + /* + * Version negotiation: diff --git a/meta-openembedded/meta-oe/recipes-support/fuse/fuse_2.9.2.bb b/meta-openembedded/meta-oe/recipes-support/fuse/fuse_2.9.2.bb index 23b9447..b558c4d 100644 --- a/meta-openembedded/meta-oe/recipes-support/fuse/fuse_2.9.2.bb +++ b/meta-openembedded/meta-oe/recipes-support/fuse/fuse_2.9.2.bb @@ -9,6 +9,7 @@ PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \ file://gold-unversioned-symbol.patch \ + file://aarch64.patch \ " SRC_URI[md5sum] = "7d80d0dc9cc2b9199a0c53787c151205" SRC_URI[sha256sum] = "81a728fb3f87da33063068735e2fb7e2cd89df207d32687d3d3278385279cefc" -- 2.7.4