commit:     946770868f05d7340adad87bde656ec5b70644b3
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Nov 26 11:02:49 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 11:31:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94677086

mail-client/alpine: list of patches must be sorted

Use eapply instead of find, which will implicitly sort the list
of patches. This also simplifies the entire procedure.

Closes: https://bugs.gentoo.org/944973
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 mail-client/alpine/alpine-2.26-r5.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mail-client/alpine/alpine-2.26-r5.ebuild 
b/mail-client/alpine/alpine-2.26-r5.ebuild
index 60568914b89e..ebbe665ab898 100644
--- a/mail-client/alpine/alpine-2.26-r5.ebuild
+++ b/mail-client/alpine/alpine-2.26-r5.ebuild
@@ -29,10 +29,7 @@ src_prepare() {
        default
 
        # apply patches from upstream git to fix compiler issues
-       local patches=$(find "${WORKDIR}/${P}-patches" -type f -name "0*.patch")
-       for patch in ${patches}; do
-               eapply "${patch}"
-       done
+       eapply "${WORKDIR}"/${P}-patches/0*.patch
 
        # optional extra features, see https://alpineapp.email/alpine/index.html
        use chappa && eapply "${WORKDIR}/${P}-patches/chappa-rebased.patch"

Reply via email to