aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 12:07:52 -0500
committerJack Nagel2014-03-19 18:57:14 -0500
commit2c3c0b74e008d0681d587e5b96e8f4659288d46b (patch)
tree3d43c33d989d0ebdde84c383475dff4933e5a1a4 /Library/Formula
parent59166de032b2e0d95579d3fc9fa698bc02c95a82 (diff)
downloadhomebrew-2c3c0b74e008d0681d587e5b96e8f4659288d46b.tar.bz2
hunspell: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hunspell.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/hunspell.rb b/Library/Formula/hunspell.rb
index 002a2ba7b..ab80dbe62 100644
--- a/Library/Formula/hunspell.rb
+++ b/Library/Formula/hunspell.rb
@@ -7,11 +7,9 @@ class Hunspell < Formula
depends_on 'readline'
- def patches
- # hunspell does not prepend $HOME to all USEROODIRs
- # http://sourceforge.net/p/hunspell/bugs/236/
- { :p0 => DATA }
- end
+ # hunspell does not prepend $HOME to all USEROODIRs
+ # http://sourceforge.net/p/hunspell/bugs/236/
+ patch :p0, :DATA
def install
system "./configure", "--disable-dependency-tracking",