From 3670a92a871586502fc95c3713a19c3b3a247161 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 22 Sep 2019 23:56:26 +0300 Subject: [PATCH] openssh: force use 64bit off_t Fixes https://github.com/termux/termux-packages/issues/3233. --- packages/openssh/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openssh/build.sh b/packages/openssh/build.sh index 245380289..40605921f 100644 --- a/packages/openssh/build.sh +++ b/packages/openssh/build.sh @@ -56,7 +56,7 @@ termux_step_pre_configure() { ## prefixed path to program 'passwd' export PATH_PASSWD_PROG="${TERMUX_PREFIX}/bin/passwd" - CPPFLAGS+=" -DHAVE_ATTRIBUTE__SENTINEL__=1 -DBROKEN_SETRESGID" + CPPFLAGS+=" -DHAVE_ATTRIBUTE__SENTINEL__=1 -DBROKEN_SETRESGID -DTERMUX_EXPOSE_FILE_OFFSET64" LD=$CC # Needed to link the binaries LDFLAGS+=" -llog" # liblog for android logging in syslog hack }