Ports: Update sed to 4.10

This commit is contained in:
Linus Groh authored and Nico Weber committed 2026-09-30 21:42:57 -07:00
1 parent 76bd3c6cdb
commit 8846fe0d09
4 files changed
+40 -7

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`SDL_mixer`](SDL_mixer/) | SDL_mixer (Audio mixer add-on for SDL 1.2) | 1.2.12 | https://www.libsdl.org/projects/SDL_mixer/release-1.2.html |
| [`SDL_sound`](SDL_sound/) | SDL_sound (Abstract soundfile decoder add-on for SDL 1.2) | 1.0.3 | https://www.icculus.org/SDL_sound/ |
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | 86988c6 | https://github.com/NagyD/SDLPoP |
| [`sed`](sed/) | GNU sed | 4.9 | https://www.gnu.org/software/sed/ |
| [`sed`](sed/) | GNU sed | 4.10 | https://www.gnu.org/software/sed/ |
| [`serenity-theming`](serenity-theming/) | SerenityOS theming | 955c253 | https://github.com/SerenityOS/theming |
| [`serious-sam-classic`](serious-sam-classic/) | Serious Sam - The First Encounter | 1.10.4 | https://github.com/tx00100xt/SeriousSamClassic |
| [`sfinx`](sfinx/) | Sfinx | 1.1 | https://www.scummvm.org/games/#games-sfinx |
+8 -6
View File
@@ -1,9 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=sed
version=4.9
useconfigure="true"
use_fresh_config_sub="true"
config_sub_paths=("build-aux/config.sub")
port='sed'
version='4.10'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
'build-aux/config.sub'
)
files=(
"mirror://gnu/sed/sed-${version}.tar.gz#d1478a18f033a73ac16822901f6533d30b6be561bcbce46ffd7abce93602282e"
"mirror://gnu/sed/sed-${version}.tar.gz#4d179ffaf92ec4dcec541f7c032be1c3b9a1856f4970adb95a505221702f5277"
)
@@ -0,0 +1,24 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eduardo Casadei <[email protected]>
Date: Thu, 10 Sep 2026 18:00:40 -0400
Subject: [PATCH] gnulib: Port getlocalename_l_unsafe to SerenityOS
---
gnulib-tests/getlocalename_l-unsafe.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnulib-tests/getlocalename_l-unsafe.c b/gnulib-tests/getlocalename_l-unsafe.c
index cac2f35b62b4f7b2a3b1acdf3a287b5edf92f072..33b8e09c98b7a8dc71f5cf07c5a6d43fb0e22436 100644
--- a/gnulib-tests/getlocalename_l-unsafe.c
+++ b/gnulib-tests/getlocalename_l-unsafe.c
@@ -658,6 +658,10 @@ getlocalename_l_unsafe (int category, locale_t locale)
};
const char *name = ((struct __locale_t *) locale)->mb_cur_max == 4 ? "C.UTF-8" : "C";
return (struct string_with_storage) { name, STORAGE_INDEFINITE };
+#elif defined __serenity__
+# undef getlocalename_l
+ const char *name = getlocalename_l (category, locale);
+ return (struct string_with_storage) { name, STORAGE_OBJECT };
#else
#error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib."
#endif
+7
View File
@@ -0,0 +1,7 @@
# Patches for sed on SerenityOS
## `0001-gnulib-Port-getlocalename_l_unsafe-to-SerenityOS.patch`
gnulib: Port getlocalename_l_unsafe to SerenityOS