From 01b65c1ab8739171aa41a3ff28bc1c2fef2f8f46 Mon Sep 17 00:00:00 2001 From: Allen Webb Date: Wed, 7 Dec 2022 11:02:05 -0600 Subject: [PATCH] dev-libs/libxslt: Enable LFS support switch to using LFS-capable functions: fopen -> fopen64 gzopen -> gzopen64 readdir -> readdir64 stat -> stat64 Closes: https://bugs.gentoo.org/884717 Signed-off-by: Allen Webb Closes: https://github.com/gentoo/gentoo/pull/28592 Signed-off-by: Sam James --- .../{libxslt-1.1.37.ebuild => libxslt-1.1.37-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename dev-libs/libxslt/{libxslt-1.1.37.ebuild => libxslt-1.1.37-r1.ebuild} (93%) diff --git a/dev-libs/libxslt/libxslt-1.1.37.ebuild b/dev-libs/libxslt/libxslt-1.1.37-r1.ebuild similarity index 93% rename from dev-libs/libxslt/libxslt-1.1.37.ebuild rename to dev-libs/libxslt/libxslt-1.1.37-r1.ebuild index 2c7268bf940fb..151e80a2ac14e 100644 --- a/dev-libs/libxslt/libxslt-1.1.37.ebuild +++ b/dev-libs/libxslt/libxslt-1.1.37-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Note: Please bump this in sync with dev-libs/libxml2. PYTHON_COMPAT=( python3_{8..11} ) -inherit python-r1 multilib-minimal +inherit flag-o-matic python-r1 multilib-minimal DESCRIPTION="XSLT libraries and tools" HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt" @@ -53,6 +53,10 @@ src_prepare() { } multilib_src_configure() { + # Remove this after upstream merge request to add AC_SYS_LARGEFILE lands: + # https://gitlab.gnome.org/GNOME/libxslt/-/merge_requests/55 + append-lfs-flags + libxslt_configure() { ECONF_SOURCE="${S}" econf \ --without-python \