summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2024-04-05 23:26:19 +0100
committerMarek Szuba <marecki@gentoo.org>2024-04-05 23:26:19 +0100
commitb448e9d8d8a7fa8333d04f16429862b99f61e912 (patch)
treee6358ec12257d00ca30db82a063a6b3b54a4150c
parentgames-arcade/xjump: EAPI 8 (diff)
downloadgentoo-b448e9d8d8a7fa8333d04f16429862b99f61e912.tar.gz
gentoo-b448e9d8d8a7fa8333d04f16429862b99f61e912.tar.bz2
gentoo-b448e9d8d8a7fa8333d04f16429862b99f61e912.zip
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>
-rw-r--r--sys-apps/the_silver_searcher/files/the_silver_searcher-2.2.0-no_lfs64.patch11
-rw-r--r--sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r2.ebuild (renamed from sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild)0
2 files changed, 11 insertions, 0 deletions
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
index 1b9f8c8a60bb..1b9f8c8a60bb 100644
--- 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