From 5d47de1fc34cc8cfac71ad5176ac5e36b4490220 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:22 -0500 Subject: viewglob: use patch DSL --- Library/Formula/viewglob.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/viewglob.rb b/Library/Formula/viewglob.rb index cdd376f1a..89b1ba53e 100644 --- a/Library/Formula/viewglob.rb +++ b/Library/Formula/viewglob.rb @@ -11,11 +11,9 @@ class Viewglob < Formula depends_on 'glib' depends_on 'gtk+' - def patches - # Don't include the header, it's not available on OS X. - # Fixed upstream for next version. - DATA - end + # Don't include the header, it's not available on OS X. + # Fixed upstream for next version. + patch :DATA def install system "./configure", "--disable-debug", "--disable-dependency-tracking", -- cgit v1.2.3