From 3e30ead5bec0ad8755532291a7d76c559735aa22 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 19 Aug 2026 21:15:36 +0700 Subject: [PATCH] Update kibi and nano --- recipes/text/kibi/recipe.toml | 2 +- recipes/text/nano/recipe.toml | 13 +++++++------ recipes/text/nano/redox.patch | 12 ++++++++++++ 3 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 recipes/text/nano/redox.patch diff --git a/recipes/text/kibi/recipe.toml b/recipes/text/kibi/recipe.toml index 841e4c7ed..e047fa6d3 100644 --- a/recipes/text/kibi/recipe.toml +++ b/recipes/text/kibi/recipe.toml @@ -1,6 +1,6 @@ [source] git = "https://github.com/ilai-deutel/kibi" -rev = "v0.3.2" +rev = "v0.3.3" [build] template = "custom" diff --git a/recipes/text/nano/recipe.toml b/recipes/text/nano/recipe.toml index c1e1b332b..b6b01cd7d 100644 --- a/recipes/text/nano/recipe.toml +++ b/recipes/text/nano/recipe.toml @@ -1,14 +1,15 @@ [source] -tar = "https://www.nano-editor.org/dist/v7/nano-7.2.tar.xz" +tar = "https://www.nano-editor.org/dist/v9/nano-9.2.tar.xz" +blake3 = "6a4dd380f6ee2bb2d74851c182090774f61eddfc37d9ff4d060b69f2c0fe4646" +patches = [ + "redox.patch" +] + [build] -template = "custom" +template = "configure" dependencies = [ "ncursesw", ] -script = """ -DYNAMIC_INIT -cookbook_configure -""" [package] dependencies = [ diff --git a/recipes/text/nano/redox.patch b/recipes/text/nano/redox.patch new file mode 100644 index 000000000..83aa91e02 --- /dev/null +++ b/recipes/text/nano/redox.patch @@ -0,0 +1,12 @@ +diff --color -ruwN source/lib/fseterr.c source-new/lib/fseterr.c +--- source/lib/fseterr.c 2026-07-31 13:13:07.000000000 +0700 ++++ source-new/lib/fseterr.c 2026-08-19 21:12:05.375336440 +0700 +@@ -53,7 +53,7 @@ + #elif defined EPLAN9 /* Plan9 */ + if (fp->state != 0 /* CLOSED */) + fp->state = 5 /* ERR */; +-#elif 0 /* unknown */ ++#elif defined __redox__ /* unknown */ + /* Portable fallback, based on an idea by Rich Felker. + Wow! 6 system calls for something that is just a bit operation! + Not activated on any system, because there is no way to repair FP when