libzzip large file support

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=491
This commit is contained in:
2025-03-17 14:07:58 +00:00
committed by Git OBS Bridge
parent ff5a7960be
commit 03625f1c61
2 changed files with 18 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 17 09:39:37 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Autodetect if libzzip support large files on 32bit architectures
-------------------------------------------------------------------
Fri Mar 14 14:26:45 UTC 2025 - Dr. Werner Fink <werner@suse.de>

View File

@@ -4445,6 +4445,17 @@ popd
icu[0]='--without-system-icu'
icu[1]='--without-system-harfbuzz'
fi
if test -n "$(getconf LFS_CFLAGS)"
then
if test -n "$(nm -D /lib/libzzip.so | grep zzip_init_io64)"
then
zzip='--with-system-zziplib'
else
zzip='--without-system-zziplib'
fi
else
zzip='--with-system-zziplib'
fi
# Wrong version string
sed -ri '/m4_define.*tex_live_version/{s@[0-9]+/dev@%{texlive_version}@}' version.ac
for rp in $(find -name configure) ; do
@@ -4526,6 +4537,7 @@ popd
--disable-xz \
--enable-largefile \
--enable-threads \
--enable-year2038 \
--%{!?with_psutils:disable}%{?with_psutils:enable}-psutils \
--%{!?with_lcdf_typetools:disable}%{?with_lcdf_typetools:enable}-lcdf-typetools \
--enable-freetype \
@@ -4556,7 +4568,7 @@ popd
--with-system-libpng \
--with-system-pnglib \
--with-system-gd \
--with-system-zziplib \
${zzip:+"${zzip}"} \
--with-system-libgs \
--with-system-freetype2 \
--with-freetype2-includes=%{_includedir}/freetype2 \