commit: b448e9d8d8a7fa8333d04f16429862b99f61e912 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Apr 5 22:26:19 2024 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Apr 5 22:26:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b448e9d8
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 <AT> gentoo.org> .../files/the_silver_searcher-2.2.0-no_lfs64.patch | 11 +++++++++++ ...1.ebuild => the_silver_searcher-2.2.0_p20201217-r2.ebuild} | 0 2 files changed, 11 insertions(+) diff --git a/sys-apps/the_silver_searcher/files/the_silver_searcher-2.2.0-no_lfs64.patch b/sys-apps/the_silver_searcher/files/the_silver_searcher-2.2.0-no_lfs64.patch index 62925a7fb1f0..7468a47a0568 100644 --- a/sys-apps/the_silver_searcher/files/the_silver_searcher-2.2.0-no_lfs64.patch +++ b/sys-apps/the_silver_searcher/files/the_silver_searcher-2.2.0-no_lfs64.patch @@ -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 @@ diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r2.ebuild similarity index 100% rename from sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild rename to sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r2.ebuild
