mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
59f8de864f
Which is enabled by default if neither pulseaudio or chromium.pulseaudio is explicitly set. The reason is that chromium falls back to ALSA in case no pulseaudio is available. In addition it was necessary to patch media.gyp to ignore the array-out-of- bounds warning.
13 lines
383 B
Diff
13 lines
383 B
Diff
diff --git a/media/media.gyp b/media/media.gyp
|
|
index 2a8c6c6..66ca767 100644
|
|
--- a/media/media.gyp
|
|
+++ b/media/media.gyp
|
|
@@ -399,6 +399,7 @@
|
|
['use_pulseaudio == 1', {
|
|
'cflags': [
|
|
'<!@(pkg-config --cflags libpulse)',
|
|
+ '-Wno-array-bounds',
|
|
],
|
|
'link_settings': {
|
|
'libraries': [
|