aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-21 10:11:08 -0500
committerJack Nagel2014-03-21 10:11:08 -0500
commit03c87931b97ae1d4b59f8824f9dcdf6d4b893f43 (patch)
tree56e51371892bd9a72323d834e261d7d3cb9caa85 /Library/Formula
parentcebe7d7c2e9d27b37d624a4ea7b238b42854f68d (diff)
downloadhomebrew-03c87931b97ae1d4b59f8824f9dcdf6d4b893f43.tar.bz2
zbar: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/zbar.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/zbar.rb b/Library/Formula/zbar.rb
index a592fbacf..faf7cd131 100644
--- a/Library/Formula/zbar.rb
+++ b/Library/Formula/zbar.rb
@@ -11,12 +11,10 @@ class Zbar < Formula
depends_on 'imagemagick'
depends_on 'ufraw'
- def patches
- # fix JPEG handling using patch from
- # http://sourceforge.net/p/zbar/discussion/664596/thread/58b8d79b#8f67
- # already applied upstream but not present in the 0.10 release
- DATA
- end
+ # Fix JPEG handling using patch from
+ # http://sourceforge.net/p/zbar/discussion/664596/thread/58b8d79b#8f67
+ # already applied upstream but not present in the 0.10 release
+ patch :DATA
def install
args = %W[