Index: head/shells/zsh/files/patch-Src_zsh.mdd =================================================================== --- head/shells/zsh/files/patch-Src_zsh.mdd (nonexistent) +++ head/shells/zsh/files/patch-Src_zsh.mdd (revision 384799) @@ -0,0 +1,22 @@ +--- Src/zsh.mdd.orig 2014-09-20 19:01:46 UTC ++++ Src/zsh.mdd +@@ -21,9 +21,18 @@ hdrdeps="zshcurses.h zshterm.h" + :<<\Make + @CONFIG_MK@ + ++# If we're using gcc as the preprocessor, get rid of the additional ++# lines generated by the preprocessor as they can confuse the script. ++# We don't need these in other cases either, but can't necessarily rely ++# on the option to remove them being the same. + signames.c: signames1.awk signames2.awk ../config.h @SIGNAL_H@ + $(AWK) -f $(sdir)/signames1.awk @SIGNAL_H@ >sigtmp.c +- $(CPP) sigtmp.c >sigtmp.out ++ case "$(CPP)" in \ ++ gcc*) \ ++ $(CPP) -P sigtmp.c >sigtmp.out;; \ ++ *) \ ++ $(CPP) sigtmp.c >sigtmp.out;; \ ++ esac + $(AWK) -f $(sdir)/signames2.awk sigtmp.out > $@ + rm -f sigtmp.c sigtmp.out + Property changes on: head/shells/zsh/files/patch-Src_zsh.mdd ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property