From 03da8c330c4f6f404e7b4e0ac16f0e755250bdab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 25 Mar 2018 21:25:06 +0200 Subject: [PATCH] libupnp1.8: fix 32bit cross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/libupnp1.8/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/libupnp1.8/template b/srcpkgs/libupnp1.8/template index 949b2cc0a0..2e6f1926e9 100644 --- a/srcpkgs/libupnp1.8/template +++ b/srcpkgs/libupnp1.8/template @@ -13,6 +13,9 @@ wrksrc="pupnp-release-${version}" checksum=22adb8a54d71e5aa7315c3289fdb5bbbb6020199890abf4711a4426396f8e0df configure_args="--enable-ipv6 --enable-reuseaddr" +# libupnp uses large file support, so users must do that, too +CFLAGS="-D_FILE_OFFSET_BITS=64" + pre_configure() { autoreconf -fi }