From cb3e5d7b48ac6c580f0b75733b9602d0807cb349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 12 May 2023 18:54:34 +0700 Subject: [PATCH] libxslt: large file support --- srcpkgs/libxslt/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libxslt/template b/srcpkgs/libxslt/template index 3551319bab6..33d2e9f9a26 100644 --- a/srcpkgs/libxslt/template +++ b/srcpkgs/libxslt/template @@ -1,7 +1,7 @@ # Template file for 'libxslt' pkgname=libxslt version=1.1.37 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static --disable-dependency-tracking" hostmakedepends="docbook-xml docbook-xsl libtool pkg-config python3" @@ -15,6 +15,7 @@ distfiles="${GNOME_SITE}/libxslt/${version%.*}/libxslt-${version}.tar.xz" checksum=3a4b27dc8027ccd6146725950336f1ec520928f320f144eb5fa7990ae6123ab4 python_version=3 CFLAGS="-I$XBPS_CROSS_BASE/usr/include/python$py3_ver" +CFLAGS+=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" libxslt"