From 05a87535497e62092010d8c5a7ff6c27bb1af527 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Wed, 20 Aug 2025 10:03:43 -0400 Subject: [PATCH] mame: remove coreaudio_sound patch (upstreamed) This patch is no longer needed after the most recent update, and is breaking macOS/Darwin builds. --- pkgs/applications/emulators/mame/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/applications/emulators/mame/default.nix b/pkgs/applications/emulators/mame/default.nix index 742988e13886..0f025c97987c 100644 --- a/pkgs/applications/emulators/mame/default.nix +++ b/pkgs/applications/emulators/mame/default.nix @@ -7,7 +7,6 @@ SDL2_ttf, copyDesktopItems, expat, - fetchpatch, fetchurl, flac, fontconfig, @@ -117,16 +116,6 @@ stdenv.mkDerivation rec { # that you run MAME changing to install directory, so we add absolute paths # here ./001-use-absolute-paths.diff - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - # coreaudio_sound.cpp compares __MAC_OS_X_VERSION_MIN_REQUIRED to 1200 - # instead of 120000, causing it to try to use a constant that isn't - # actually defined yet when targeting macOS 11 like Nixpkgs does. - # Backport mamedev/mame#13890 until the next time we update MAME. - (fetchpatch { - url = "https://patch-diff.githubusercontent.com/raw/mamedev/mame/pull/13890.patch"; - hash = "sha256-Fqpw4fHEMns4tSSIjc1p36ss+J9Tc/O0cnN3HI/ratM="; - }) ]; # Since the bug described in https://github.com/NixOS/nixpkgs/issues/135438,