ports/www/iridium/files/patch-net_dns_address__info.cc
Robert Nagy 9c1cbfaa28 www/iridium: update to 2024.07.127.1
This update also removes the --audio-backend command line switch
in favor of an actual setting in the browser that can be changed
at chrome://flags/#audio-backend
2024-08-01 17:56:09 +02:00

16 lines
494 B
C++

--- net/dns/address_info.cc.orig 2024-08-01 05:47:53 UTC
+++ net/dns/address_info.cc
@@ -83,8 +83,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get(
// error.
// http://crbug.com/134142
err = ERR_NAME_NOT_RESOLVED;
-#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_FREEBSD)
+#elif BUILDFLAG(IS_POSIX)
+#ifdef EAI_NODATA
if (os_error != EAI_NONAME && os_error != EAI_NODATA)
+#else
+ if (os_error != EAI_NONAME)
+#endif
err = ERR_NAME_RESOLUTION_FAILED;
#endif