commit:     01b65c1ab8739171aa41a3ff28bc1c2fef2f8f46
Author:     Allen Webb <allenwebb <AT> google <DOT> com>
AuthorDate: Wed Dec  7 17:02:05 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  7 17:50:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b65c1a

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 <allenwebb <AT> google.com>
Closes: https://github.com/gentoo/gentoo/pull/28592
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../libxslt/{libxslt-1.1.37.ebuild => libxslt-1.1.37-r1.ebuild}     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 2c7268bf940f..151e80a2ac14 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 \

Reply via email to