aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 22:44:51 -0500
committerJack Nagel2014-03-17 22:47:06 -0500
commit33f73334b058cfbf90d2fbb2f7eb0d5b17afcdbc (patch)
tree27969cb9788a1a1457b52379a9e69cf789d6a5ab /Library
parent845c2420ee152b050887099cfbc96d4e424f811b (diff)
downloadhomebrew-33f73334b058cfbf90d2fbb2f7eb0d5b17afcdbc.tar.bz2
b43-fwcutter: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/b43-fwcutter.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/b43-fwcutter.rb b/Library/Formula/b43-fwcutter.rb
index 534e8b875..2209275db 100644
--- a/Library/Formula/b43-fwcutter.rb
+++ b/Library/Formula/b43-fwcutter.rb
@@ -5,13 +5,11 @@ class B43Fwcutter < Formula
url "http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2"
sha1 "e77ff733ec43d77761330e16480b7ffa16c7c5dd"
- def patches
- # Use OSSwapInt16/32 instead of GNU byteswap.h.
- # This has been accepted upstream but has not yet been
- # officially released. See:
- # https://github.com/mbuesch/b43-tools/pull/1
- DATA
- end
+ # Use OSSwapInt16/32 instead of GNU byteswap.h.
+ # This has been accepted upstream but has not yet been
+ # officially released. See:
+ # https://github.com/mbuesch/b43-tools/pull/1
+ patch :DATA
def install
inreplace 'Makefile' do |m|