Merge pull request #174012 from marsam/fix-mpg321-darwin

mpg321: fix build on darwin

authored by Ben Siraphob and committed by GitHub d65ee335 2c4171ca

+6 -1
+6 -1
pkgs/applications/audio/mpg321/default.nix
··· 19 19 url = "https://sources.debian.org/data/main/m/mpg321/0.3.2-3/debian/patches/handle_illegal_bitrate_value.patch"; 20 20 sha256 = "15simp5fjvm9b024ryfh441rkh2d5bcrizqkzlrh07n9sm7fkw6x"; 21 21 }) 22 + # Apple defines semun already. Skip redefining it to fix build errors. 23 + (fetchpatch { 24 + url = "https://raw.githubusercontent.com/Homebrew/formula-patches/85fa66a9/mpg321/0.3.2.patch"; 25 + sha256 = "sha256-qFYpKpE9PZSzOJrnsQINZi6FvUVX0anRyOvlF5eOYqE="; 26 + }) 22 27 ]; 23 28 24 29 hardeningDisable = [ "format" ]; ··· 37 42 description = "Command-line MP3 player"; 38 43 homepage = "http://mpg321.sourceforge.net/"; 39 44 license = licenses.gpl2; 40 - platforms = platforms.gnu ++ platforms.linux; 45 + platforms = platforms.unix; 41 46 }; 42 47 }