mpd: fix build on darwin (#457144)
This commit is contained in:
@@ -234,7 +234,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace src/output/plugins/OSXOutputPlugin.cxx \
|
||||
--replace kAudioObjectPropertyElement{Main,Master} \
|
||||
--replace kAudioHardwareServiceDeviceProperty_Virtual{Main,Master}Volume
|
||||
'';
|
||||
''
|
||||
+
|
||||
lib.optionalString
|
||||
(stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "13.3")
|
||||
''
|
||||
sed -i "/subdir('time')/d" test/meson.build
|
||||
'';
|
||||
|
||||
# Otherwise, the meson log says:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user