SHA256
1
0
forked from pool/zsh

- Update to zsh 4.2.13

* See included ChangeLog for details
- Drop zsh-4.3.12-ksh-emulation-syntax-checking.patch, 
  fixed upstream

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=82
This commit is contained in:
Ismail Dönmez 2011-11-30 21:53:20 +00:00 committed by Git OBS Bridge
parent e21ca8a6d2
commit b0eb86fe99
5 changed files with 14 additions and 24 deletions

View File

@ -1,15 +0,0 @@
diff -ruN zsh-4.3.12-orig/Src/subst.c zsh-4.3.12/Src/subst.c
--- zsh-4.3.12-orig/Src/subst.c 2011-05-23 18:48:19.000000000 +0200
+++ zsh-4.3.12/Src/subst.c 2011-06-29 13:44:13.000000000 +0200
@@ -245,7 +245,10 @@
if (endchar == Outpar && str2[1] == '(' && str[-2] == ')') {
/* Math substitution of the form $((...)) */
str[-2] = '\0';
- str = arithsubst(str2 + 2, &str3, str);
+ if (isset(EXECOPT))
+ str = arithsubst(str2 + 2, &str3, str);
+ else
+ strncpy(str3, str2, 1);
setdata(node, (void *) str3);
continue;
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47bd04cb35933d2a9d70fb8301f7dc08e55da4a80f4f79c7d70a9423d617aa11
size 2965438

3
zsh-4.3.13.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:173bafa9f363050de40c50492eccbd8c55d85401a42b076b2178c2d9d5355d9c
size 2964918

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 30 21:49:26 UTC 2011 - idoenmez@suse.de
- Update to zsh 4.2.13
* See included ChangeLog for details
- Drop zsh-4.3.12-ksh-emulation-syntax-checking.patch,
fixed upstream
-------------------------------------------------------------------
Tue Nov 29 14:19:04 UTC 2011 - idoenmez@suse.de

View File

@ -18,7 +18,7 @@
Name: zsh
Version: 4.3.12+test3
Version: 4.3.13
Release: 4
License: BSD
Summary: Shell with comprehensive completion
@ -28,7 +28,7 @@ Group: System/Shells
%else
Group: System Environment/Shells
%endif
Source0: ftp://ftp.zsh.org/pub/development/zsh-4.3.12-test-3.tar.bz2
Source0: ftp://ftp.zsh.org/pub/zsh-%{version}.tar.bz2
Source1: zshrc
Source2: zshenv
Source3: zprofile
@ -42,8 +42,6 @@ Source16: dotzshrc.rh
Source17: zshprompt.pl
%endif
Patch1: %{name}-4.3.12-disable-c02cond-test.patch
# PATCH-FIX ksh-emulation-syntax-checking.patch -- Import and rework from RHEL (zsh-4.2.6)
Patch2: %{name}-4.3.12-ksh-emulation-syntax-checking.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
Requires(pre): %{install_info_prereq}
@ -96,9 +94,8 @@ mechanism, and more.
This package contains the Zsh manual in html format.
%prep
%setup -q -n %{name}-4.3.12-test-3
%setup -q -n %{name}-%{version}
%patch1
%patch2 -p1
# Remove executable bit
chmod 0644 Etc/changelog2html.pl