aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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[