diff options
Diffstat (limited to 'app-shells/zsh/files/zsh-5.1.0-gcc-5.patch')
-rw-r--r-- | app-shells/zsh/files/zsh-5.1.0-gcc-5.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch new file mode 100644 index 000000000000..74756d2946c4 --- /dev/null +++ b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/547950 +http://www.zsh.org/mla/workers/2015/msg02660.html + +fix building w/gcc-5 + +--- a/Src/Modules/system.mdd ++++ b/Src/Modules/system.mdd +@@ -15,7 +15,7 @@ + touch errtmp.out; \ + else \ + $(AWK) -f $(sdir)/errnames1.awk @ERRNO_H@ >errtmp.c; \ +- $(CPP) errtmp.c >errtmp.out; \ ++ $(CPP) -P errtmp.c >errtmp.out; \ + fi + $(AWK) -f $(sdir)/errnames2.awk errtmp.out > $@ + rm -f errtmp.c errtmp.out |