From 03c87931b97ae1d4b59f8824f9dcdf6d4b893f43 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 21 Mar 2014 10:11:08 -0500 Subject: zbar: use patch DSL --- Library/Formula/zbar.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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[ -- cgit v1.2.3