head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.11.12.17.18.06; author leot; state Exp; branches; next ; commitid yPpTGTGrF2QU8c3H; desc @@ 1.1 log @mpv: Fix possible build issue on macOS Backport pull request in order to fix the build on macOS when Vulkan is disabled, tracked via upstream issue . PKGREVISION++ Pointed out by arcathrax in private email. @ text @$NetBSD$ Fix build on macOS when Vulkan is disabled. Shared upstream via , should fix . --- video/out/mac/view.swift.orig 2026-11-04 23:33:41.000000000 +0000 +++ video/out/mac/view.swift @@@@ -29,7 +29,7 @@@@ class View: NSView, CALayerDelegate { override var acceptsFirstResponder: Bool { return true } override var isOpaque: Bool { - if let metalLayer = layer as? MetalLayer { + if let metalLayer = layer as? CAMetalLayer { return !metalLayer.isOpaque } @