aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 12:07:51 -0500
committerJack Nagel2014-03-19 12:29:56 -0500
commit3445001afbb2861865eb978bdd0629641ec42504 (patch)
tree3b47513b109418037ac6c141d2142adec8aaa960 /Library
parentafd0628e96fd970009ec64677eea7b3e5bb5f36f (diff)
downloadhomebrew-3445001afbb2861865eb978bdd0629641ec42504.tar.bz2
gmp: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gmp.rb4
1 files changed, 1 insertions, 3 deletions
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?