mpd: fix on i686
Was submtitted to upstream, but fix here in the meantime.
This commit is contained in:
parent
939c846ae7
commit
21cb82f34b
@ -39,6 +39,8 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "0a4psqsf71vc6hfgyv55jclsx8yb7lf4w840qlq6cq8j3hsjaavi";
|
||||
};
|
||||
|
||||
patches = [ ./i386.patch ];
|
||||
|
||||
buildInputs = [ pkgconfig glib boost ]
|
||||
++ opt stdenv.isDarwin darwin.apple_sdk.frameworks.CoreAudioKit
|
||||
++ opt stdenv.isLinux systemd
|
||||
|
14
pkgs/servers/mpd/i386.patch
Normal file
14
pkgs/servers/mpd/i386.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
|
||||
index 6986453..167fc07 100644
|
||||
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
|
||||
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
|
||||
@@ -20,8 +20,8 @@
|
||||
/* necessary because libavutil/common.h uses UINT64_C */
|
||||
#define __STDC_CONSTANT_MACROS
|
||||
|
||||
-#include "lib/ffmpeg/Time.hxx"
|
||||
#include "config.h"
|
||||
+#include "lib/ffmpeg/Time.hxx"
|
||||
#include "FfmpegDecoderPlugin.hxx"
|
||||
#include "lib/ffmpeg/Domain.hxx"
|
||||
#include "lib/ffmpeg/Error.hxx"
|
Loading…
Reference in New Issue
Block a user