aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2021-04-23 12:52:21 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2021-04-23 12:56:33 +0000
commitd2441db781c717b17fafc2a9980b0cfa97b7ba9b (patch)
tree49f2ab39d8bcd2db3b3b4a162db76972075638e8 /emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp
parentbffb12ee7c59ff564beec7dc14e6047a4dcc28c3 (diff)
downloadports-d2441db781c717b17fafc2a9980b0cfa97b7ba9b.tar.gz
ports-d2441db781c717b17fafc2a9980b0cfa97b7ba9b.zip
emulators/virtualbox-ose: Update to 6.1.20
- Also update related kmod and additions ports - In additions, use INSTALL_LIB to install X11 modules, so binaries get stripped - Trim some `#if __FreeBSD_version` checks for unsupported FreeBSD versions from patches PR: 255301
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp')
-rw-r--r--emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp b/emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp
new file mode 100644
index 000000000000..fec7ba18f722
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src_VBox_Devices_Audio_DrvHostAudioAlsa.cpp
@@ -0,0 +1,18 @@
+--- src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp.orig 2021-04-20 04:27:52 UTC
++++ src/VBox/Devices/Audio/DrvHostAudioAlsa.cpp
+@@ -833,6 +833,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay
+ continue;
+ }
+
++#if EPIPE != ESTRPIPE
+ case -ESTRPIPE:
+ {
+ /* Stream was suspended and waiting for a recovery. */
+@@ -846,6 +847,7 @@ static DECLCALLBACK(int) drvHostAlsaAudioHA_StreamPlay
+ LogFlowFunc(("Resumed suspended output stream\n"));
+ continue;
+ }
++#endif
+
+ default:
+ LogFlowFunc(("Failed to write %RU32 bytes, error unknown\n", cbToWrite));