sys-apps/the_silver_searcher: fix the no-LFS64 patch

According to the documentation glibc still defaults to 32-bit file
offsets on 32-bit arches, therefore tell autoconf to check if it needs
to explicitly set this to 64.

Straight-to-stable revbump on the off chance someone has emerged the
ebuild using the previous version of the patch on a 32-bit system. And
that's enough of messing with this without the usual ~arch revisions.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2024-04-05 23:26:19 +01:00
parent 45b489b66e
commit b448e9d8d8
2 changed files with 11 additions and 0 deletions

View File

@@ -1,6 +1,17 @@
LFS64 interfaces are now generally considered deprecated, and are no longer
available in MUSL since version 1.2.4.
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,8 @@
AC_PREREQ([2.59])
AC_PROG_GREP
+AC_SYS_LARGEFILE
+
m4_ifdef(
[AM_SILENT_RULES],
[AM_SILENT_RULES([yes])])
--- a/src/zfile.c
+++ b/src/zfile.c
@@ -4,7 +4,7 @@