aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 12:13:31 -0500
committerJack Nagel2014-03-18 14:52:51 -0500
commitfcc9ffd6e1da5d843a2f4c896c3ab8a7d6452382 (patch)
tree6e9fe6b451eea989b598c245b8dfc50f8510622c /Library/Formula
parent6a892e0198f38c862478339a4c1dbc5726f7a35a (diff)
downloadhomebrew-fcc9ffd6e1da5d843a2f4c896c3ab8a7d6452382.tar.bz2
crosstool-ng: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/crosstool-ng.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/crosstool-ng.rb b/Library/Formula/crosstool-ng.rb
index 93cf5bb04..071f6e68b 100644
--- a/Library/Formula/crosstool-ng.rb
+++ b/Library/Formula/crosstool-ng.rb
@@ -18,10 +18,8 @@ class CrosstoolNg < Formula
# Avoid superenv to prevent https://github.com/mxcl/homebrew/pull/10552#issuecomment-9736248
env :std
- def patches
- # Fixes clang offsetof compatability. Took better patch from #14547
- DATA
- end
+ # Fixes clang offsetof compatability. Took better patch from #14547
+ patch :DATA
def install
system "./configure", "--prefix=#{prefix}",