www/chromium: 117.0.5938.62 build failed in 12.4-STABLE
Date: Fri, 15 Sep 2023 03:27:56 UTC
Hello. As the subject says, chromium-117.0.5938.62 fails to build in 12.4-STABLE. The compilation of net/dns/address_info.cc fails, but I know the cause, so I will write a brief description. ../../net/dns/address_info.cc:81:47: error: use of undeclared identifier 'EAI_NO DATA' if (os_error != EAI_NONAME && os_error != EAI_NODATA) 1 error generated. The definition of EAI_NODATA is in /usr/include/netdb.h. net/dns/address_info.cc successfully includes netdb.h. In 13.x, EAI_NODATA is ready to use if __BSD_VISIBLE is defined. However, in 12.x, it is enclosed in #if 0, so it has to be defined separately. So www/chromium/files/patch-net_dns_address__info.cc needs to be fixed a bit. For example, like this? (not tested) -#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_FREEBSD) +#elif BUILDFLAG(IS_POSIX) && __FreeBSD__ >= 13 Regards.