From 1ff378008f2b0a13450553e512b8c95eca0e4de7 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 24 Aug 2021 13:22:56 +0200 Subject: [PATCH] zsh: build param_private module as well Fixes https://github.com/termux/termux-packages/issues/7391. --- packages/zsh/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/zsh/build.sh b/packages/zsh/build.sh index 6b1ea9d7d..4fac02a71 100644 --- a/packages/zsh/build.sh +++ b/packages/zsh/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Shell with lots of features" TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=5.8 -TERMUX_PKG_REVISION=7 +TERMUX_PKG_REVISION=8 TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/zsh-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27 # Remove hard link to bin/zsh as Android does not support hard links: @@ -42,8 +42,9 @@ termux_step_post_configure() { # - The stat module is needed by zui (https://github.com/termux/termux-packages/issues/2829). # - The mapfile module was requested in https://github.com/termux/termux-packages/issues/3116. # - The zselect module is used by multiple plugins (https://github.com/termux/termux-packages/issues/4939) - for module in \ - curses deltochar files mapfile mathfunc pcre regex socket stat system zprof zpty zselect + # - The param_private module was requested in https://github.com/termux/termux-packages/issues/7391. + for module in curses deltochar files mapfile mathfunc pcre regex \ + socket stat system zprof zpty zselect param_private do perl -p -i -e "s|${module}.mdd link=no|${module}.mdd link=static|" $TERMUX_PKG_BUILDDIR/config.modules done