diff options
| author | Brett Koonce | 2013-09-27 22:55:09 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-27 22:19:29 -0700 |
| commit | b69bfaefb631f554ed3f99c53bcd543d68945d65 (patch) | |
| tree | 1f94513f1539c204cd10c95d36296f4f6feaa7d3 /Library/Formula/bibutils.rb | |
| parent | c4a9a1c47727380cf35dc646d054a0cf872cb944 (diff) | |
| download | homebrew-b69bfaefb631f554ed3f99c53bcd543d68945d65.tar.bz2 | |
bibutils 5.2
Closes #22897.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/bibutils.rb')
| -rw-r--r-- | Library/Formula/bibutils.rb | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/Library/Formula/bibutils.rb b/Library/Formula/bibutils.rb index 97fe80ccf..7bb906bcd 100644 --- a/Library/Formula/bibutils.rb +++ b/Library/Formula/bibutils.rb @@ -2,8 +2,11 @@ require 'formula' class Bibutils < Formula homepage 'http://sourceforge.net/p/bibutils/home/Bibutils/' - url 'http://downloads.sourceforge.net/project/bibutils/bibutils_5.0_src.tgz' - sha1 'cf9b6d7e4d0a679f734e9c477798219dc016a3da' + url 'http://downloads.sourceforge.net/project/bibutils/bibutils_5.2_src.tgz' + sha1 '4ae54726100535d0f5e726405de4a35f0a62c578' + + #fix uint not being defined clang error + def patches; DATA; end def install system "./configure", "--install-dir", prefix @@ -16,3 +19,30 @@ class Bibutils < Formula end end end + +__END__ +diff --git a/lib/biblatexin.c b/lib/biblatexin.c +index 41c51dc..8d6f57a 100644 +--- a/lib/biblatexin.c ++++ b/lib/biblatexin.c +@@ -21,6 +21,8 @@ + #include "reftypes.h" + #include "biblatexin.h" + ++#include <sys/types.h> ++ + extern const char progname[]; + + static list find = { 0, 0, 0, NULL }; +diff --git a/lib/bibtexin.c b/lib/bibtexin.c +index 5d97832..bce0847 100644 +--- a/lib/bibtexin.c ++++ b/lib/bibtexin.c +@@ -21,6 +21,8 @@ + #include "reftypes.h" + #include "bibtexin.h" + ++#include <sys/types.h> ++ + static list find = { 0, 0, 0, NULL }; + static list replace = { 0, 0, 0, NULL }; |
