From 1af0df3fbdd1d20edcffda651e97d671401df0ff Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 24 Oct 2024 22:06:38 +0100 Subject: [PATCH] mpv: remove unreferenced patch Fixes: f2280510e3e431e9c0907fe233a3534def4a7162 --- .../video/mpv/0001-fix-darwin-build.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 pkgs/applications/video/mpv/0001-fix-darwin-build.patch diff --git a/pkgs/applications/video/mpv/0001-fix-darwin-build.patch b/pkgs/applications/video/mpv/0001-fix-darwin-build.patch deleted file mode 100644 index 2b6085ed3c9f..000000000000 --- a/pkgs/applications/video/mpv/0001-fix-darwin-build.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/osdep/mac/input_helper.swift b/osdep/mac/input_helper.swift -index 0acec6bd40..0ec5837864 100644 ---- a/osdep/mac/input_helper.swift -+++ b/osdep/mac/input_helper.swift -@@ -18,6 +18,14 @@ - import Cocoa - import Carbon.HIToolbox - -+extension NSCondition { -+ fileprivate func withLock(_ body: () throws -> T) rethrows -> T { -+ self.lock() -+ defer { self.unlock() } -+ return try body() -+ } -+} -+ - class InputHelper: NSObject { - var option: OptionHelper? - var lock = NSCondition()