cdparanoia: patches for Darwin

+13 -2
+13 -2
pkgs/applications/audio/cdparanoia/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cdparanoia-III-10.2"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "http://downloads.xiph.org/releases/cdparanoia/${name}.src.tgz"; 8 8 sha256 = "1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80"; 9 9 }; 10 10 11 11 preConfigure = "unset CC"; 12 - 12 + 13 + patches = stdenv.lib.optionals stdenv.isDarwin [ 14 + (fetchurl { 15 + url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch"; 16 + sha1 = "c86e573f51e6d58d5f349b22802a7a7eeece9fcd"; 17 + }) 18 + (fetchurl { 19 + url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"; 20 + sha1 = "d7dc121374df3b82e82adf544df7bf1eec377bdb"; 21 + }) 22 + ]; 23 + 13 24 meta = { 14 25 homepage = http://xiph.org/paranoia; 15 26 description = "A tool and library for reading digital audio from CDs";