From d1c1bc2073c46e1cce65afa10eb4e611f88a47e1 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 14 Jul 2017 19:18:12 +0000 Subject: [PATCH] fuse-sshfs: fix 32-bit glibc builds --- srcpkgs/fuse-sshfs/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/fuse-sshfs/template b/srcpkgs/fuse-sshfs/template index fb78e81158f..fce04a91690 100644 --- a/srcpkgs/fuse-sshfs/template +++ b/srcpkgs/fuse-sshfs/template @@ -14,6 +14,11 @@ homepage="https://github.com/libfuse/sshfs" distfiles="https://github.com/libfuse/sshfs/releases/download/sshfs-${version}/sshfs-${version}.tar.gz" checksum=644966c7326c1b788a80318c5806f20f6d42dd72ab686f66d6120bd108b54d2d +case "${XBPS_TARGET_MACHINE}" in + i686|armv6l|armv7l) + CFLAGS+=" -D_FILE_OFFSET_BITS=64" +esac + pre_configure() { autoreconf -fi }