fuse: Add Aarch64 patch from upstream git to fix build

See e.g. https://bugs.launchpad.net/linaro-oe/+bug/1087757
This commit is contained in:
Tuomas Tynkkynen 2016-12-23 02:11:08 +02:00
parent fcc51d3256
commit 8999ab9e56

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, utillinux
{ stdenv, fetchFromGitHub, fetchpatch, utillinux
, autoconf, automake, libtool, gettext }:
stdenv.mkDerivation rec {
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
buildInputs = [ utillinux autoconf automake libtool gettext ];
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
url = "https://github.com/libfuse/libfuse/commit/914871b20a901e3e1e981c92bc42b1c93b7ab81b.patch";
sha256 = "1w4j6f1awjrycycpvmlv0x5v9gprllh4dnbjxl4dyl2jgbkaw6pa";
});
preConfigure =
''
export MOUNT_FUSE_PATH=$out/sbin