From 47c5b77116a287dbd95962a3cde3d37ddf68063c Mon Sep 17 00:00:00 2001 From: Fabian Dellwing Date: Tue, 18 Apr 2023 12:55:23 +0200 Subject: [PATCH] Ports: Update zsh --- Ports/AvailablePorts.md | 2 +- Ports/zsh/package.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index aace2554e2c..99a803fc646 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -290,5 +290,5 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`yasm`](yasm/) | Yasm Modular Assembler | 1.3.0 | https://yasm.tortall.net/ | | [`zig`](zig/) | Zig programming language | 0.11.0-dev.670+f7fea080b | https://ziglang.org/ | | [`zlib`](zlib/) | zlib | 1.2.13 | https://www.zlib.net/ | -| [`zsh`](zsh/) | Z Shell (Zsh) | 5.8.1 | https://www.zsh.org | +| [`zsh`](zsh/) | Z Shell (Zsh) | 5.9 | https://www.zsh.org | | [`zstd`](zstd/) | Zstandard | 1.5.2 | https://facebook.github.io/zstd/ | diff --git a/Ports/zsh/package.sh b/Ports/zsh/package.sh index ef5de4810a1..f8456eb8803 100755 --- a/Ports/zsh/package.sh +++ b/Ports/zsh/package.sh @@ -1,7 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port=zsh -version=5.8.1 -files="https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz zsh-${version}.tar.xz b6973520bace600b4779200269b1e5d79e5f505ac4952058c11ad5bbf0dd9919" +version=5.9 +files="https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz zsh-${version}.tar.xz 9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5" auth_type="sha256" useconfigure=true use_fresh_config_sub=true @@ -9,3 +9,7 @@ use_fresh_config_sub=true pre_configure() { run "./Util/preconfig" } + +post_configure() { + run_replace_in_file "s/define HAVE_PRCTL 1/undef HAVE_PRCTL/" config.h +}