diff options
| author | Alexis Hildebrandt | 2014-04-18 19:12:31 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-05-14 16:11:16 -0500 |
| commit | db3980be5e1b7182b75855e9255e5afff5121c80 (patch) | |
| tree | 2eb6639f77540198689b0a4caf612f205908626c /Library/Formula | |
| parent | 275be313dc6d536ef5349db1ee82087e93b541ec (diff) | |
| download | homebrew-db3980be5e1b7182b75855e9255e5afff5121c80.tar.bz2 | |
gmp 6.0.0a
Closes #28502.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gmp.rb | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index 915d0c525..a9668605b 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -2,9 +2,9 @@ require 'formula' class Gmp < Formula homepage 'http://gmplib.org/' - url 'ftp://ftp.gmplib.org/pub/gmp/gmp-5.1.3.tar.bz2' - mirror 'http://ftp.gnu.org/gnu/gmp/gmp-5.1.3.tar.bz2' - sha1 'b35928e2927b272711fdfbf71b7cfd5f86a6b165' + url 'ftp://ftp.gmplib.org/pub/gmp/gmp-6.0.0a.tar.bz2' + mirror 'http://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2' + sha1 '360802e3541a3da08ab4b55268c80f799939fddc' bottle do cellar :any @@ -17,11 +17,6 @@ class Gmp < Formula option '32-bit' option :cxx11 - # Patches gmp.h to remove the __need_size_t define, which - # was preventing libc++ builds from getting the ptrdiff_t type - # Applied upstream in http://gmplib.org:8000/gmp/raw-rev/6cd3658f5621 - patch :DATA - def install ENV.cxx11 if build.cxx11? args = ["--prefix=#{prefix}", "--enable-cxx"] @@ -42,23 +37,3 @@ class Gmp < Formula system "make install" end end - -__END__ -diff --git a/gmp-h.in b/gmp-h.in -index 7deb67a..240d663 100644 ---- a/gmp-h.in -+++ b/gmp-h.in -@@ -46,13 +46,11 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ - #ifndef __GNU_MP__ - #define __GNU_MP__ 5 - --#define __need_size_t /* tell gcc stddef.h we only want size_t */ - #if defined (__cplusplus) - #include <cstddef> /* for size_t */ - #else - #include <stddef.h> /* for size_t */ - #endif --#undef __need_size_t - - /* Instantiated by configure. */ - #if ! defined (__GMP_WITHIN_CONFIGURE) |
