Skip to content

Commit

Permalink
llvm: remove redundant helper
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Jan 19, 2025
1 parent be75c9f commit 408866a
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions mingw-w64-llvm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 408866a

Please sign in to comment.