aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:18 -0500
committerJack Nagel2014-03-20 21:44:12 -0500
commitd748682ae7018be434d7fca827e3abbb5def8f90 (patch)
tree5094593270cbf838ad68f142c9a0280a571ab34f
parentfedb343ec37249200232766bf7c9c57ce865b751 (diff)
downloadhomebrew-d748682ae7018be434d7fca827e3abbb5def8f90.tar.bz2
ragel: use patch DSL
-rw-r--r--Library/Formula/ragel.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/ragel.rb b/Library/Formula/ragel.rb
index d53ee7598..e5007f309 100644
--- a/Library/Formula/ragel.rb
+++ b/Library/Formula/ragel.rb
@@ -10,10 +10,8 @@ class Ragel < Formula
sha1 'e57ee7f740dd395d4d5330949594a02c91ad0308'
end
- def patches
- # Fix compilation with recent clang, patch from upstream git repo
- DATA
- end
+ # Fix compilation with recent clang, patch from upstream git repo
+ patch :DATA
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"