diff options
| author | Jack Nagel | 2014-09-20 00:08:58 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-09-20 00:21:55 -0500 | 
| commit | f190fc8cafe6eeb8853870981dd78b850daf5bae (patch) | |
| tree | 7c81a40d26402ae0ffd0675864215604e93f13be | |
| parent | be6368195b95f6d1438efcbf19f5a61acc6417ad (diff) | |
| download | homebrew-f190fc8cafe6eeb8853870981dd78b850daf5bae.tar.bz2 | |
libgpg-error 1.16
| -rw-r--r-- | Library/Formula/libgpg-error.rb | 40 | 
1 files changed, 6 insertions, 34 deletions
| diff --git a/Library/Formula/libgpg-error.rb b/Library/Formula/libgpg-error.rb index 3be742877..330310f1c 100644 --- a/Library/Formula/libgpg-error.rb +++ b/Library/Formula/libgpg-error.rb @@ -1,47 +1,19 @@ -require 'formula' +require "formula"  class LibgpgError < Formula -  homepage 'http://www.gnupg.org/' -  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' +  homepage "http://www.gnupg.org/" +  url "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.16.tar.bz2" +  mirror "http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.16.tar.bz2" +  sha1 "059c40a2b78c3ac2b4cbec0e0481faba5af332fe"    bottle do -    cellar :any -    sha1 "827c944f802fc8eb8e237b170afcc931ea724319" => :mavericks -    sha1 "251c8bf21431497bf1018d707dc1510548cde11b" => :mountain_lion -    sha1 "7a4bd350a82007b890845b16bf95aaa18d760c10" => :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      ENV.universal_binary if build.universal? -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" +    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"      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); - - | 
