aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jack.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 12:07:53 -0500
committerJack Nagel2014-03-19 18:57:15 -0500
commit2adf00e0050bb1f14d5d57934c1664fdd7fa987a (patch)
tree433f0306a096efef67b566750c5cabe61e249c8d /Library/Formula/jack.rb
parent49dd4f12798ad06e335d5127ccbd27bfb412e47d (diff)
downloadhomebrew-2adf00e0050bb1f14d5d57934c1664fdd7fa987a.tar.bz2
jack: use patch DSL
Diffstat (limited to 'Library/Formula/jack.rb')
-rw-r--r--Library/Formula/jack.rb6
1 files changed, 2 insertions, 4 deletions
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"