Merge pull request #23152 from mati865/push-xptupxtpkmkt

llvm: remove redundant helper
This commit is contained in:
jeremyd2019 2025-01-19 12:49:08 -08:00 committed by GitHub
commit 1b6ec3d0fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ source=("${_url}/llvm-${pkgver}.src.tar.xz"{,.sig}
# 0301-0399 -> lld
"0303-ignore-new-bfd-options.patch"
# 0401-0499 -> clang-tools-extra
# 9901-9999 -> whole tree
# 0901-0999 -> whole tree
"0901-wholearchive-import-libs.patch::https://github.com/llvm/llvm-project/commit/4a4a8a1476b1386b523dc5b292ba9a5a6748a9cf.patch"
)
sha256sums=('96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
@ -115,14 +115,6 @@ apply_patch_with_msg() {
done
}
apply_git_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying ${_patch}"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}
revert_patch_with_msg() {
for _patch in "$@"
do
@ -176,8 +168,8 @@ prepare() {
# Patch whole tree
cd "${srcdir}"
apply_git_patch_with_msg \
"0901-wholearchive-import-libs.patch"
apply_patch_with_msg \
"0901-wholearchive-import-libs.patch"
}
build() {