From 9e456cf920a872f62d7e6125fb8f15f3da43e993 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 26 Oct 2026 14:52:21 +0000 Subject: [PATCH] remove nano patch, update and fix gzip --- recipes/text/nano/recipe.toml | 3 --- recipes/text/nano/redox.patch | 12 ------------ recipes/wip/archives/gzip/recipe.toml | 6 ++++-- 3 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 recipes/text/nano/redox.patch diff --git a/recipes/text/nano/recipe.toml b/recipes/text/nano/recipe.toml index b6b01cd7d..11c347f7a 100644 --- a/recipes/text/nano/recipe.toml +++ b/recipes/text/nano/recipe.toml @@ -1,9 +1,6 @@ [source] tar = "https://www.nano-editor.org/dist/v9/nano-9.2.tar.xz" blake3 = "6a4dd380f6ee2bb2d74851c182090774f61eddfc37d9ff4d060b69f2c0fe4646" -patches = [ - "redox.patch" -] [build] template = "configure" diff --git a/recipes/text/nano/redox.patch b/recipes/text/nano/redox.patch deleted file mode 100644 index 83aa91e02..000000000 --- a/recipes/text/nano/redox.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 diff --git a/recipes/wip/archives/gzip/recipe.toml b/recipes/wip/archives/gzip/recipe.toml index b3fb1a9b7..e27f3bef8 100644 --- a/recipes/wip/archives/gzip/recipe.toml +++ b/recipes/wip/archives/gzip/recipe.toml @@ -1,5 +1,7 @@ -#TODO port gnulib fseterr.c [source] -tar = "https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.gz" +tar = "https://ftp.gnu.org/gnu/gzip/gzip-1.15.tar.gz" [build] template = "configure" +configureflags = [ + "ac_cv_have_decl___fseterr=yes" +]