aboutsummaryrefslogtreecommitdiff
path: root/tools/util-linux/patches/010-meson-curses.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/util-linux/patches/010-meson-curses.patch')
-rw-r--r--tools/util-linux/patches/010-meson-curses.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/util-linux/patches/010-meson-curses.patch b/tools/util-linux/patches/010-meson-curses.patch
new file mode 100644
index 0000000000..80c28eedbd
--- /dev/null
+++ b/tools/util-linux/patches/010-meson-curses.patch
@@ -0,0 +1,24 @@
+From c1ca5ec4a5c6a0e4acbdcc6ff4e4fa2109c1ec24 Mon Sep 17 00:00:00 2001
+From: Rosen Penev <rosenp@gmail.com>
+Date: Wed, 30 Jul 2025 14:13:07 -0700
+Subject: [PATCH] meson: use curses for the non wide version
+
+The curses dependency in meson in special in that it uses a combination
+of pkg-config, config-tool, and various system lookups to find it.
+
+Signed-off-by: Rosen Penev <rosenp@gmail.com>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/meson.build
++++ b/meson.build
+@@ -289,7 +289,7 @@ if lib_ncursesw.found()
+ lib_ncurses = disabler()
+ else
+ lib_ncurses = dependency(
+- 'ncurses',
++ 'curses',
+ disabler : true,
+ required : get_option('ncurses'))
+ headers += ['ncurses.h',