[oe] [meta-oe][PATCH] fuse: add aarch64 support

Martin Jansa martin.jansa at gmail.com
Mon Jan 28 10:44:02 UTC 2013


On Mon, Jan 21, 2013 at 04:31:38PM +0200, Riku Voipio wrote:
> 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.

Applied thanks

> 
> Upstream-Status: Submitted
> 
> Signed-off-by: Riku Voipio <riku.voipio at linaro.org>
> ---
>  .../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-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch
> 
> diff --git a/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch b/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch
> new file mode 100644
> index 0000000..180f544
> --- /dev/null
> +++ b/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch
> @@ -0,0 +1,20 @@
> +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:
> diff --git a/meta-oe/recipes-support/fuse/fuse_2.9.2.bb b/meta-oe/recipes-support/fuse/fuse_2.9.2.bb
> index 23b9447..b558c4d 100644
> --- a/meta-oe/recipes-support/fuse/fuse_2.9.2.bb
> +++ b/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"
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130128/05919504/attachment-0002.sig>


More information about the Openembedded-devel mailing list