commit:     d284d49b7c692ad11cdeefd84345faa61295bb3a
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Jul 29 17:57:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 12:44:07 2024 +0000
URL:        https://gitweb.gentoo.org/proj/elt-patches.git/commit/?id=d284d49b

patches: new patch to fix finding file on mips64

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/elt-patches/pull/3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eltpatch.in                  |  6 +++++-
 patches/fix-file-check/2.5.0 | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)

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:)
+

Reply via email to