From 99dbf4cfbdd55e4fec5f1163bfa2ab32eb6ce1e5 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 12 Nov 2025 21:43:50 +0800 Subject: [PATCH] c-ares: inherit github-releases class Inherit github-releases class to check the correct latest stable verison. Before the patch: $ devtool latest-version c-ares INFO: Current version: 1.34.5 INFO: Latest version: After the patch: $ devtool latest-version c-ares INFO: Current version: 1.34.5 INFO: Latest version: 1.34.5 Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb index 8204f25cdb..b434886311 100644 --- a/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb +++ b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb @@ -14,7 +14,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[manpages] = "" PACKAGECONFIG[tests] = "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest" -inherit cmake manpages pkgconfig ptest +inherit cmake manpages pkgconfig ptest github-releases EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 'OFF' }"