From 2adf00e0050bb1f14d5d57934c1664fdd7fa987a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:53 -0500 Subject: jack: use patch DSL --- Library/Formula/jack.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/jack.rb b/Library/Formula/jack.rb index 5c4d8ea32..0949df80d 100644 --- a/Library/Formula/jack.rb +++ b/Library/Formula/jack.rb @@ -16,10 +16,8 @@ class Jack < Formula depends_on 'libsndfile' depends_on 'libsamplerate' - def patches - # Change pThread header include from CarbonCore - { :p0 => DATA } - end if MacOS.version >= :mountain_lion + # Change pThread header include from CarbonCore + patch :p0, :DATA if MacOS.version >= :mountain_lion plist_options :manual => "jackd -d coreaudio" -- cgit v1.2.3