mpd: fix i686-linux build
See upstream https://github.com/MaxKellermann/MPD/pull/24, not clear if this will be merged upstream as the author has been quite uncooperative. Github patch URL (https://github.com/MaxKellermann/MPD/pull/24.patch) sadly does not work for this.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, systemd, boost, darwin
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, glib, systemd, boost, darwin
|
||||
, alsaSupport ? true, alsaLib
|
||||
, avahiSupport ? true, avahi, dbus
|
||||
, flacSupport ? true, flac
|
||||
@@ -42,6 +42,8 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "0isbpa79m7zf09w3s1ry638cw96rxasy1ch66zl01k75i48mw1gl";
|
||||
};
|
||||
|
||||
patches = [ ./x86.patch ];
|
||||
|
||||
buildInputs = [ pkgconfig glib boost ]
|
||||
++ opt stdenv.isDarwin darwin.apple_sdk.frameworks.CoreAudioKit
|
||||
++ opt stdenv.isLinux systemd
|
||||
|
||||
Reference in New Issue
Block a user