diff --git a/packages/libgnt/build.sh b/packages/libgnt/build.sh index a12ab0e7d6c2fb3..817634d56761c63 100644 --- a/packages/libgnt/build.sh +++ b/packages/libgnt/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="An ncurses toolkit for creating text-mode graphical user TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.14.3 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/pidgin/libgnt/${TERMUX_PKG_VERSION}/libgnt-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=57f5457f72999d0bb1a139a37f2746ec1b5a02c094f2710a339d8bcea4236123 TERMUX_PKG_DEPENDS="glib, libxml2, ncurses, ncurses-ui-libs" diff --git a/packages/libgnt/meson.build.patch b/packages/libgnt/meson.build.patch new file mode 100644 index 000000000000000..c8477b2f0d3c8f2 --- /dev/null +++ b/packages/libgnt/meson.build.patch @@ -0,0 +1,12 @@ +diff -u -r ../libgnt-2.14.3/meson.build ./meson.build +--- ../libgnt-2.14.3/meson.build 2021-09-26 03:56:33.000000000 +0000 ++++ ./meson.build 2024-10-02 20:30:13.929310165 +0000 +@@ -85,7 +85,7 @@ + # FIXME: $host ? + ncurses_sys_prefix = '/usr/$host/sys-root/mingw' + else +- ncurses_sys_prefix = '/usr' ++ ncurses_sys_prefix = '@TERMUX_PREFIX@' + endif + + ncurses_sys_dirs = [ncurses_sys_prefix + '/include/ncursesw',