diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-media_audio_BUILD_gn')
| -rw-r--r-- | www/chromium-uc/patches/patch-media_audio_BUILD_gn | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/www/chromium-uc/patches/patch-media_audio_BUILD_gn b/www/chromium-uc/patches/patch-media_audio_BUILD_gn deleted file mode 100644 index 865f565..0000000 --- a/www/chromium-uc/patches/patch-media_audio_BUILD_gn +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | $OpenBSD: patch-media_audio_BUILD_gn,v 1.34 2021/09/01 16:54:40 robert Exp $ | ||
| 2 | |||
| 3 | Index: media/audio/BUILD.gn | ||
| 4 | --- media/audio/BUILD.gn.orig | ||
| 5 | +++ media/audio/BUILD.gn | ||
| 6 | @@ -238,9 +238,20 @@ source_set("audio") { | ||
| 7 | ] | ||
| 8 | } | ||
| 9 | |||
| 10 | - if (is_linux || is_chromeos) { | ||
| 11 | + if ((is_linux || is_chromeos) && !is_openbsd) { | ||
| 12 | sources += [ "linux/audio_manager_linux.cc" ] | ||
| 13 | } | ||
| 14 | + | ||
| 15 | + if (is_openbsd) { | ||
| 16 | + libs += [ "sndio" ] | ||
| 17 | + sources += [ | ||
| 18 | + "openbsd/audio_manager_openbsd.cc", | ||
| 19 | + "sndio/sndio_input.cc", | ||
| 20 | + "sndio/sndio_input.h", | ||
| 21 | + "sndio/sndio_output.cc", | ||
| 22 | + "sndio/sndio_output.h" | ||
| 23 | + ] | ||
| 24 | + } | ||
| 25 | |||
| 26 | if (use_alsa) { | ||
| 27 | libs += [ "asound" ] | ||
