Package: fuse <https://packages.debian.org/source/unstable/fuse> Version: 2.9.3-11 Severity: important Tags: patch
I just cherry picked the change in the attatched debdiff from ubuntu and uploaded it to debian-ports unreleased arm64. I have no immediate intent to NMU in debian but if this bug has received no maintainer response when the time comes to push arm64 into the main archive a NMU will likely follow. If you have any objections please raise them now.
diff -Nru fuse-2.9.3/debian/changelog fuse-2.9.3/debian/changelog --- fuse-2.9.3/debian/changelog 2014-06-14 19:25:30.000000000 +0000 +++ fuse-2.9.3/debian/changelog 2014-06-19 10:35:29.000000000 +0000 @@ -1,3 +1,11 @@ +fuse (2.9.3-11+arm64) unreleased; urgency=low + + * debian/patches/04-fix-arm64-int-sizes.patch: Use linux/types.h rather + than sys/types.h in include/fuse_kernel.h to fix the arm64 build. + + fix taken from 2.9.2-4ubuntu3 upload by William Grant + + -- Peter Michael Green <plugw...@debian.org> Thu, 19 Jun 2014 10:35:01 +0000 + fuse (2.9.3-11) unstable; urgency=low * Improving fuse.postinst to handle device creation a bit better diff -Nru fuse-2.9.3/debian/patches/04-fix-arm64-int-sizes.patch fuse-2.9.3/debian/patches/04-fix-arm64-int-sizes.patch --- fuse-2.9.3/debian/patches/04-fix-arm64-int-sizes.patch 1970-01-01 00:00:00.000000000 +0000 +++ fuse-2.9.3/debian/patches/04-fix-arm64-int-sizes.patch 2014-06-19 10:32:51.000000000 +0000 @@ -0,0 +1,28 @@ +Author: Riku Voipio <riku.voi...@linaro.org> +Description: fuse_kernel.h: clean includes + Use <linux/types.h> for linux and define types used for other operating systems + using <stdint.h> types. +Origin: backport, http://sourceforge.net/p/fuse/fuse/ci/914871b + +Index: fuse-2.9.2/include/fuse_kernel.h +=================================================================== +--- fuse-2.9.2.orig/include/fuse_kernel.h 2013-10-11 16:30:25.000000000 +1100 ++++ fuse-2.9.2/include/fuse_kernel.h 2013-10-11 16:31:43.618741227 +1100 +@@ -88,12 +88,16 @@ + #ifndef _LINUX_FUSE_H + #define _LINUX_FUSE_H + +-#include <sys/types.h> ++#ifdef __linux__ ++#include <linux/types.h> ++#else ++#include <stdint.h> + #define __u64 uint64_t + #define __s64 int64_t + #define __u32 uint32_t + #define __s32 int32_t + #define __u16 uint16_t ++#endif + + /* + * Version negotiation: diff -Nru fuse-2.9.3/debian/patches/series fuse-2.9.3/debian/patches/series --- fuse-2.9.3/debian/patches/series 2014-04-25 18:44:16.000000000 +0000 +++ fuse-2.9.3/debian/patches/series 2014-06-19 10:33:10.000000000 +0000 @@ -3,3 +3,4 @@ 0003-examples.patch 0004-fusermount-manpage.patch 0005-dlsym.patch +04-fix-arm64-int-sizes.patch