- Add gcc5-fix.patch to fix signames.c generation with gcc5
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=150
This commit is contained in:
committed by
Git OBS Bridge
parent
d853728465
commit
79d1bf0832
13
gcc5-fix.patch
Normal file
13
gcc5-fix.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: zsh-5.0.7/Src/zsh.mdd
|
||||
===================================================================
|
||||
--- zsh-5.0.7.orig/Src/zsh.mdd
|
||||
+++ zsh-5.0.7/Src/zsh.mdd
|
||||
@@ -23,7 +23,7 @@ hdrdeps="zshcurses.h zshterm.h"
|
||||
|
||||
signames.c: signames1.awk signames2.awk ../config.h @SIGNAL_H@
|
||||
$(AWK) -f $(sdir)/signames1.awk @SIGNAL_H@ >sigtmp.c
|
||||
- $(CPP) sigtmp.c >sigtmp.out
|
||||
+ $(CPP) -P sigtmp.c >sigtmp.out
|
||||
$(AWK) -f $(sdir)/signames2.awk sigtmp.out > $@
|
||||
rm -f sigtmp.c sigtmp.out
|
||||
|
Reference in New Issue
Block a user