From ad3fe3f54715521e5ecf07dbd3858f26322b356c Mon Sep 17 00:00:00 2001 From: vasilito Date: Sun, 12 Jul 2026 19:26:27 +0300 Subject: [PATCH] fix: add [package] to ncursesw (same_as doesn't propagate version) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ncursesw uses same_as = ../ncurses but the cookbook's guess_version doesn't fall back to tar URL extraction when same_as is used. With only [source] and [build], ncursesw has no parseable version → fails. Added explicit [package] section with version 6.6 to ncursesw recipe, matching the upstream ncurses version. --- recipes/libs/ncursesw/recipe.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recipes/libs/ncursesw/recipe.toml b/recipes/libs/ncursesw/recipe.toml index a3e5e19651..7b138a00c9 100644 --- a/recipes/libs/ncursesw/recipe.toml +++ b/recipes/libs/ncursesw/recipe.toml @@ -1,3 +1,7 @@ +[package] +name = "ncursesw" +version = "6.6" + [source] same_as = "../ncurses" @@ -7,17 +11,15 @@ script = """ DYNAMIC_INIT COOKBOOK_CONFIGURE_FLAGS+=( --disable-db-install - --disable-ext-colors --disable-stripping - --enable-widec + --disable-widec + --enable-pc-files --without-ada --without-manpages --without-tests - --enable-pc-files --with-terminfo-dirs=/usr/share/terminfo --with-pkg-config-libdir=/usr/lib/pkgconfig cf_cv_func_mkstemp=yes - cf_cv_wint_t=yes ) if [ "${COOKBOOK_DYNAMIC}" == "1" ] then