diff options
Diffstat (limited to 'www/ungoogled-chromium/files/patch-net_dns_address__info.cc')
-rw-r--r-- | www/ungoogled-chromium/files/patch-net_dns_address__info.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/ungoogled-chromium/files/patch-net_dns_address__info.cc b/www/ungoogled-chromium/files/patch-net_dns_address__info.cc index 2174e2bc246a..a9cb9a42ab9c 100644 --- a/www/ungoogled-chromium/files/patch-net_dns_address__info.cc +++ b/www/ungoogled-chromium/files/patch-net_dns_address__info.cc @@ -1,11 +1,16 @@ ---- net/dns/address_info.cc.orig 2023-09-17 07:59:53 UTC +--- net/dns/address_info.cc.orig 2023-09-29 10:30:11 UTC +++ net/dns/address_info.cc -@@ -77,7 +77,7 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get( +@@ -77,8 +77,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 + |