diff options
| author | Max Howell | 2009-09-15 19:05:24 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-16 14:49:06 +0100 |
| commit | c8c2cb2dd3dac7fbdafd2121eb4553b6ba12232d (patch) | |
| tree | f22d437e66bc7d8e6a408fb596f68a28123e9625 /Library/Formula/mawk.rb | |
| parent | cfaf813b66abc0c087e348bf8a57080e8a9f653e (diff) | |
| download | homebrew-c8c2cb2dd3dac7fbdafd2121eb4553b6ba12232d.tar.bz2 | |
Use __END__ patch rather than github gist
Also there was seemingly some bug where if you didn't read the pipe for the
patch commmand the exit status was non-zero.
Diffstat (limited to 'Library/Formula/mawk.rb')
| -rw-r--r-- | Library/Formula/mawk.rb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Library/Formula/mawk.rb b/Library/Formula/mawk.rb index 776117d1e..a2079249d 100644 --- a/Library/Formula/mawk.rb +++ b/Library/Formula/mawk.rb @@ -7,9 +7,7 @@ class Mawk <Formula @version='1.3.3' def patches - { - :p1 => ["http://bitbucket.org/0xffea/patches/raw/6402e50a132f/homebrew/mawk-001-shell.diff"] - } + { :p1 => DATA } end def install @@ -17,3 +15,18 @@ class Mawk <Formula system "make install" end end + + +__END__ +diff -r 3358498a60ea Makefile.in +--- a/Makefile.in Mon Sep 14 19:17:51 2009 +0200 ++++ b/Makefile.in Mon Sep 14 19:18:19 2009 +0200 +@@ -118,7 +118,7 @@ + + $(BINDIR) \ + $(MANDIR) : +- sh -c "mkdirs.sh $@" ++ sh -c "./mkdirs.sh $@" + + # output from mawk -f deps.awk *.c + array.o : config.h field.h bi_vars.h mawk.h symtype.h nstd.h memory.h array.h zmalloc.h types.h sizes.h |
