aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"