ldns: Disable GOST support
PATCH 1/1 ldns: Disable GOST support
ldns implements GOST exclusively through the OpenSSL ENGINE API, which was removed in OpenSSL 4.0
Causes
./keys.c:664:5: error: use of undeclared identifier 'ldns_key_new_frm_fp_gost_l'
664 | ldns_key_new_frm_fp_gost_l(fp, line_nr));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~USE_GOST gets defined because configure probes for a
working GOST engine using AC_RUN_IFELSE, which cannot run when cross compiling and therefore falls back to "maybe", which is treated as success.
Pass --disable-gost since the feature cannot work at all without ENGINE support.
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb +1 -1
@@ -15,7 +15,7 @@ inherit autotools-brokensep PACKAGECONFIG ??= "" PACKAGECONFIG[drill] = "--with-drill,--without-drill" -EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR}" +EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} --disable-gost" do_install:append() { sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \