commit:     30777940190e2a4f807ac114bc33bb123555fd5c
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Fri Jul 18 19:19:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 22:29:36 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=30777940

save-ebuild-env.sh: filter out the __eapply_patch() function

Presently, the "phase-helpers.sh" unit defines the __eapply_patch()
helper function, provided that the targeted EAPI is confirmed to support
eapply(). Surprisingly, the __save_ebuild_env() function does not filter
out __eapply_patch() but it ought to. Make it so.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/save-ebuild-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 1590d28b1c..6c14f59d10 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -128,7 +128,7 @@ __save_ebuild_env() (
        ___eapi_has_eapply_user && REPLY+=( __readdir eapply_user )
        ___eapi_has_get_libdir && REPLY+=( get_libdir )
        ___eapi_has_in_iuse && REPLY+=( in_iuse )
-       ___eapi_has_eapply && REPLY+=( eapply patch )
+       ___eapi_has_eapply && REPLY+=( __eapply_patch eapply patch )
        ___eapi_has_usex && REPLY+=( usex )
 
        # Destroy the collected functions.

Reply via email to