mystuff/multimedia/obs-studio/patches/patch-plugins_obs-outputs_l...

15 lines
487 B
Plaintext

$OpenBSD$
Index: plugins/obs-outputs/librtmp/rtmp.c
--- plugins/obs-outputs/librtmp/rtmp.c.orig
+++ plugins/obs-outputs/librtmp/rtmp.c
@@ -812,7 +812,7 @@ add_addr_info(struct sockaddr_storage *service, sockle
// since we're handling multiple addresses internally, fake the correct error response
#ifdef _WIN32
*socket_error = WSANO_DATA;
-#elif __FreeBSD__
+#elif __FreeBSD__ || __OpenBSD__
*socket_error = ENOATTR;
#else
*socket_error = ENODATA;