summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorFabian Dellwing <fabian.dellwing@gmail.com>2023-04-18 12:55:23 +0200
committerJelle Raaijmakers <jelle@gmta.nl>2023-04-20 11:50:27 +0200
commit47c5b77116a287dbd95962a3cde3d37ddf68063c (patch)
treefc59892fe0722fa1911cd5f545157922680d9716 /Ports
parent8b6c538f2a6c0d3b1597a1a2c86f634594cc2584 (diff)
downloadserenity-47c5b77116a287dbd95962a3cde3d37ddf68063c.zip
Ports: Update zsh
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/zsh/package.sh8
2 files changed, 7 insertions, 3 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index aace2554e2..99a803fc64 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 ef5de4810a..f8456eb880 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
+}