mystuff/multimedia/obs-studio/patches/patch-plugins_obs-outputs_librtmp_rtmp_c
2023-01-10 11:45:28 +01:00

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;