diff --git a/mingw-w64-llvm/PKGBUILD b/mingw-w64-llvm/PKGBUILD index ce43fe82f102b..9d98f226ef008 100644 --- a/mingw-w64-llvm/PKGBUILD +++ b/mingw-w64-llvm/PKGBUILD @@ -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() {