From 2fb6a6504e562a5b1723a906e241a5375b12e0eb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Mar 2014 16:51:42 -0500 Subject: fop: use patch DSL --- Library/Formula/fop.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/fop.rb b/Library/Formula/fop.rb index 01663afdc..000ea1202 100644 --- a/Library/Formula/fop.rb +++ b/Library/Formula/fop.rb @@ -11,11 +11,9 @@ class Fop < Formula sha1 'c2a3f6e985b21c9702a714942ac747864c8b1759' end - def patches - # fixes broken default java path as in - # http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?r1=1238725&r2=1434680&pathrev=1434680&view=patch - DATA - end + # fixes broken default java path as in + # http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?r1=1238725&r2=1434680&pathrev=1434680&view=patch + patch :DATA def install libexec.install Dir["*"] -- cgit v1.2.3