From bc62673edbe9fbe856a0e3b23533d4bafc0f6e33 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 17 Mar 2014 22:44:52 -0500 Subject: beecrypt: use patch DSL --- Library/Formula/beecrypt.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/beecrypt.rb b/Library/Formula/beecrypt.rb index bcfef790b..facfe9400 100644 --- a/Library/Formula/beecrypt.rb +++ b/Library/Formula/beecrypt.rb @@ -7,10 +7,8 @@ class Beecrypt < Formula depends_on "icu4c" - def patches - # fix build with newer clang, gcc 4.7 (https://bugs.gentoo.org/show_bug.cgi?id=413951) - { :p0 => DATA } - end + # fix build with newer clang, gcc 4.7 (https://bugs.gentoo.org/show_bug.cgi?id=413951) + patch :p0, :DATA def darwin_major_version # kern.osrelease: 11.4.2 -- cgit v1.2.3