From 130c4f681c7ec4bcc8b742896b665361ba2a59f0 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 9 Jul 2026 08:40:19 +0300 Subject: [PATCH] ports/ncurses: Enable widec support and disable test compilation There is one test with buggy macros that does not compile and im not feeling like making a patch for it now :^) --- ports/ncurses/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ports/ncurses/build.sh b/ports/ncurses/build.sh index a1180b33..801be96c 100755 --- a/ports/ncurses/build.sh +++ b/ports/ncurses/build.sh @@ -9,15 +9,20 @@ CONFIGURE_OPTIONS=( "--with-pkg-config-libdir=/usr/lib/pkgconfig" '--enable-pc-files' '--enable-sigwinch' - '--disable-widec' '--with-shared' - '--with-trace' + '--without-tests' '--without-ada' '--without-manpages' CFLAGS='-std=c17' ) post_install() { + for lib in ncurses ncurses++ form panel menu; do + ln -sv ${lib}w.pc "$DESTDIR/usr/lib/pkgconfig/$lib.pc" + done + + ln -sv libncursesw.so "$DESTDIR/usr/lib/libncurses.so" + shellrc="$BANAN_SYSROOT/home/user/.shellrc" grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc" }