summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/zsh/_metadata/version2
-rw-r--r--data/zsh/make.sh1
-rw-r--r--data/zsh/shebang.diff12
-rw-r--r--data/zsh/zsh-4.3.10.tar.bz2bin2735665 -> 0 bytes
-rw-r--r--data/zsh/zsh-5.5.1.tar.xzbin0 -> 3052832 bytes
5 files changed, 14 insertions, 1 deletions
diff --git a/data/zsh/_metadata/version b/data/zsh/_metadata/version
index 5d72fe47e..7acd1cb0e 100644
--- a/data/zsh/_metadata/version
+++ b/data/zsh/_metadata/version
@@ -1 +1 @@
-4.3.10
+5.5.1
diff --git a/data/zsh/make.sh b/data/zsh/make.sh
index 1aab01d52..85f622e34 100644
--- a/data/zsh/make.sh
+++ b/data/zsh/make.sh
@@ -1,4 +1,5 @@
pkg:setup
+cp ${PKG_BASE}/config.sub .
pkg:configure ac_cv_c_stack_direction=-1 zsh_cv_rlimit_vmem_is_rss=no zsh_cv_rlimit_vmem_is_as=no zsh_cv_rlimit_rss_is_as=yes zsh_cv_sys_fifo=no zsh_cv_sys_link=yes zsh_cv_sys_killesrch=yes zsh_cv_sys_sigsuspend=yes zsh_cv_sys_tcsetpgrp=yes zsh_cv_sys_getpwnam_faked=no zsh_cv_sys_elf=no zsh_cv_func_dlsym_needs_underscore=no zsh_cv_path_utmpx=/var/run/utmpx --enable-function-subdirs --bindir=/bin
pkg:make
pkg:install
diff --git a/data/zsh/shebang.diff b/data/zsh/shebang.diff
new file mode 100644
index 000000000..84e9c9d1d
--- /dev/null
+++ b/data/zsh/shebang.diff
@@ -0,0 +1,12 @@
+diff -ur zsh-4.3.10/Src/exec.c zsh-4.3.10+iPhone/Src/exec.c
+--- zsh-4.3.10/Src/exec.c 2009-03-16 08:27:07.000000000 -1000
++++ zsh-4.3.10+iPhone/Src/exec.c 2018-09-06 13:51:01.000000000 -1000
+@@ -425,7 +425,7 @@
+ * then check for an errno equal to ENOEXEC. This errno is set *
+ * if the process file has the appropriate access permission, *
+ * but has an invalid magic number in its header. */
+- if ((eno = errno) == ENOEXEC || eno == ENOENT) {
++ if ((eno = errno) == ENOEXEC || (eno = errno) == EPERM || eno == ENOENT) {
+ char execvebuf[POUNDBANGLIMIT + 1], *ptr, *ptr2, *argv0;
+ int fd, ct, t0;
+
diff --git a/data/zsh/zsh-4.3.10.tar.bz2 b/data/zsh/zsh-4.3.10.tar.bz2
deleted file mode 100644
index 56c92a605..000000000
--- a/data/zsh/zsh-4.3.10.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/data/zsh/zsh-5.5.1.tar.xz b/data/zsh/zsh-5.5.1.tar.xz
new file mode 100644
index 000000000..9fa5afd97
--- /dev/null
+++ b/data/zsh/zsh-5.5.1.tar.xz
Binary files differ