sys-devel/patch: Sync with Gentoo

It's from Gentoo commit c4d6bd8fc2cc8a5d7bd6d53cd05cff30a60d2ba1.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:14:18 +00:00 committed by Krzesimir Nowak
parent 2eb3ccad6f
commit 29e71197bb
2 changed files with 7 additions and 5 deletions

View File

@ -68,8 +68,9 @@ src_configure() {
# rename to gpatch for better BSD compatibility
--program-prefix=g
)
# Do not let $ED mess up the search for `ed` 470210.
ac_cv_path_ED=$(type -P ed) \
# Do not let $ED or $PATH (split-usr) mess up the search for `ed`:
# bug 470210 / bug 957593
ac_cv_path_ED="${EPREFIX}/bin/ed" \
econf "${myeconfargs[@]}"
}

View File

@ -22,7 +22,7 @@ else
SRC_URI="mirror://gnu/patch/${P}.tar.xz"
SRC_URI+=" verify-sig? ( mirror://gnu/patch/${P}.tar.xz.sig )"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi
LICENSE="GPL-3+"
@ -58,8 +58,9 @@ src_configure() {
# rename to gpatch for better BSD compatibility
--program-prefix=g
)
# Do not let $ED mess up the search for `ed` 470210.
ac_cv_path_ED=$(type -P ed) \
# Do not let $ED or $PATH (split-usr) mess up the search for `ed`:
# bug 470210 / bug 957593
ac_cv_path_ED="${EPREFIX}/bin/ed" \
econf "${myeconfargs[@]}"
}