From cad4a4073b0a1cb7551f6a480dd39311e98bf3f6 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 29 Jan 2018 01:09:45 +0700 Subject: libraries/libupnp: Fix build on 32 bit. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Matteo Bernardini --- libraries/libupnp/libupnp.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild index c0fe163826..db6a35e3fc 100644 --- a/libraries/libupnp/libupnp.SlackBuild +++ b/libraries/libupnp/libupnp.SlackBuild @@ -57,6 +57,9 @@ else LIBDIRSUFFIX="" fi +# largefile support must be disabled on 32bit +LARGEFILE="" ; [ "$ARCH" = "i686" ] || [ "$ARCH" = "i586" ] && LARGEFILE="--disable-largefile" + set -e rm -rf $PKG @@ -83,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --enable-static=$ENABLESTATIC \ --enable-ipv6=$ENABLEIPV6 \ + $LARGEFILE \ --build=$ARCH-slackware-linux make -- cgit v1.2.3