diff options
| author | Adam Vandenberg | 2013-01-27 18:55:58 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-28 21:39:58 -0800 |
| commit | fe6869ef55e46e09107a0039316204b2e5d4a78d (patch) | |
| tree | 0ed8e3cc17fe71e6824a541c47b0fe718d747fc4 /Library | |
| parent | 57c3afc8f29072ddbe17d14c0f137073e0001e2a (diff) | |
| download | homebrew-fe6869ef55e46e09107a0039316204b2e5d4a78d.tar.bz2 | |
gnu-shogi: style nits
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnu-shogi.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Library/Formula/gnu-shogi.rb b/Library/Formula/gnu-shogi.rb index 39c0d7f05..1f85311e2 100644 --- a/Library/Formula/gnu-shogi.rb +++ b/Library/Formula/gnu-shogi.rb @@ -1,23 +1,23 @@ require 'formula' class GnuShogi < Formula - url 'http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi-1.3.2.tar.gz' homepage 'http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html' + url 'http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi-1.3.2.tar.gz' sha1 '6135ec3eb84917d0dc2cab9ac982818ed41aad87' depends_on :x11 def patches - # gcc 4.2.1 flags the following error - # In file included from attacks.c:32: - # gnushogi.h:144: error: conflicting types for ‘setlinebuf’ - # /usr/include/stdio.h:351: error: previous declaration of ‘setlinebuf’ was here - # - # My patch fixes this by changing the declared return type of setlinebuf in - # gnushogi.h to int to match up with stdio.h's declaration - # It was returning void anyway, so unless something errantly relies on it not - # leaving something in the return register, this shouldn't break anything - DATA + # gcc 4.2.1 flags the following error + # In file included from attacks.c:32: + # gnushogi.h:144: error: conflicting types for ‘setlinebuf’ + # /usr/include/stdio.h:351: error: previous declaration of ‘setlinebuf’ was here + # + # My patch fixes this by changing the declared return type of setlinebuf in + # gnushogi.h to int to match up with stdio.h's declaration + # It was returning void anyway, so unless something errantly relies on it not + # leaving something in the return register, this shouldn't break anything + DATA end def install |
