diff options
| author | chdiza | 2014-09-12 15:57:18 -0400 |
|---|---|---|
| committer | Jack Nagel | 2014-09-12 21:46:29 -0500 |
| commit | 08f5833f9b861fa77a5f8e9668d53389714afa84 (patch) | |
| tree | 0e8570b5ad7e44f507331e62f6a84caa20b14bc3 /Library/Formula | |
| parent | c142e4ceaf4bfdf4b21c36dadbc8303e8f472a7a (diff) | |
| download | homebrew-08f5833f9b861fa77a5f8e9668d53389714afa84.tar.bz2 | |
libgpg-error 1.15
Closes #32267.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libgpg-error.rb | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/Library/Formula/libgpg-error.rb b/Library/Formula/libgpg-error.rb index 9d37c736e..4aa36f129 100644 --- a/Library/Formula/libgpg-error.rb +++ b/Library/Formula/libgpg-error.rb @@ -2,9 +2,9 @@ require 'formula' class LibgpgError < Formula homepage 'http://www.gnupg.org/' - url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.13.tar.bz2' - mirror 'http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.13.tar.bz2' - sha1 '50fbff11446a7b0decbf65a6e6b0eda17b5139fb' + url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.15.tar.bz2' + mirror 'http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.15.tar.bz2' + sha1 'f41791121c66043fa18834597e0155ebcbff8ada' bottle do cellar :any @@ -13,6 +13,12 @@ class LibgpgError < Formula sha1 "0ddec43a1845015a046f8ed4f924272eafc1cca7" => :lion end + # Version 1.15 broke building on OS X. This has been reported: + # http://lists.gnupg.org/pipermail/gnupg-devel/2014-September/028748.html + # and the fix in the below patch is already committed into their + # repo for next release. + patch :DATA + option :universal def install @@ -22,3 +28,20 @@ class LibgpgError < Formula system "make install" end end +__END__ +--- a/src/gpgrt-int.h ++++ b/src/gpgrt-int.h +@@ -105,9 +105,9 @@ void _gpgrt_clearerr_unlocked (gpgrt_stream_t stream); + + int _gpgrt_fflush (gpgrt_stream_t stream); + int _gpgrt_fseek (gpgrt_stream_t stream, long int offset, int whence); +-int _gpgrt_fseeko (gpgrt_stream_t stream, off_t offset, int whence); ++int _gpgrt_fseeko (gpgrt_stream_t stream, gpgrt_off_t offset, int whence); + long int _gpgrt_ftell (gpgrt_stream_t stream); +-off_t _gpgrt_ftello (gpgrt_stream_t stream); ++gpgrt_off_t _gpgrt_ftello (gpgrt_stream_t stream); + void _gpgrt_rewind (gpgrt_stream_t stream); + + int _gpgrt_fgetc (gpgrt_stream_t stream); + + |
