From 3445001afbb2861865eb978bdd0629641ec42504 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:51 -0500 Subject: gmp: use patch DSL --- Library/Formula/gmp.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index 886877f9c..915d0c525 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -20,9 +20,7 @@ class Gmp < Formula # 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 - def patches - DATA - end + patch :DATA def install ENV.cxx11 if build.cxx11? -- cgit v1.2.3