summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-07-29 20:57:10 +0300
committerSam James <sam@gentoo.org>2024-08-24 13:44:07 +0100
commitd284d49b7c692ad11cdeefd84345faa61295bb3a (patch)
tree5a8c87bf7eff31c7c5ba1ed00828e68ee93be3c4
parentpatches: verbose-pic: add upstream patch link (diff)
downloadelt-patches-d284d49b7c692ad11cdeefd84345faa61295bb3a.tar.gz
elt-patches-d284d49b7c692ad11cdeefd84345faa61295bb3a.tar.bz2
elt-patches-d284d49b7c692ad11cdeefd84345faa61295bb3a.zip
patches: new patch to fix finding file on mips64
Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/elt-patches/pull/3 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--eltpatch.in6
-rw-r--r--patches/fix-file-check/2.5.036
2 files changed, 41 insertions, 1 deletions
diff --git a/eltpatch.in b/eltpatch.in
index f1afdb8..d253d66 100644
--- a/eltpatch.in
+++ b/eltpatch.in
@@ -129,7 +129,7 @@ elibtoolize() {
local force="false"
local elt_patches="
install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm ppc64le
- g-debug specs fsanitize fuse-ld static-flags werror cxx-pthread color-record sed-quote openmp verbose-pic
+ g-debug specs fsanitize fuse-ld static-flags werror cxx-pthread color-record sed-quote openmp verbose-pic fix-file-check
"
for x in "$@" ; do
@@ -417,6 +417,10 @@ elibtoolize() {
ELT_walk_patches "${d}/configure" "${p}"
ret=$?
;;
+ fix-file-check)
+ ELT_walk_patches "${d}/configure" "${p}"
+ ret=$?
+ ;;
*)
# ltmain.sh patches are applied above
;;
diff --git a/patches/fix-file-check/2.5.0 b/patches/fix-file-check/2.5.0
new file mode 100644
index 0000000..07cedb5
--- /dev/null
+++ b/patches/fix-file-check/2.5.0
@@ -0,0 +1,36 @@
+https://lists.gnu.org/archive/html/libtool-patches/2024-06/msg00000.html
+
+Diffed genereated configure without patch and with patch.
+
+--- configure 2024-07-29 21:14:28.848124370 +0300
++++ configure 2024-07-29 21:15:32.329013530 +0300
+@@ -8106,7 +8106,8 @@
+ ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
++as_dummy=":"
++for as_dir in $as_dummy
+ do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+@@ -8152,7 +8153,8 @@
+ ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
++as_dummy=":"
++for as_dir in $as_dummy
+ do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+@@ -8183,7 +8185,7 @@
+ fi
+
+ if test "x$ac_ct_FILECMD" = x; then
+- FILECMD=":"
++ FILECMD="file"
+ else
+ case $cross_compiling:$ac_tool_warned in
+ yes:)
+