From 4f4d4a204727b2d3deb8d8567395756358cd7f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Sun, 19 Jan 2025 21:25:59 +0100 Subject: [PATCH] llvm: remove redundant helper --- mingw-w64-llvm/PKGBUILD | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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() {