From b87b905bdd2b23f8929e89ebf48329de670a033a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Mar 2014 12:13:30 -0500 Subject: cogl: use patch DSL --- Library/Formula/cogl.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Formula/cogl.rb b/Library/Formula/cogl.rb index a3f17c2f2..6c371a5c2 100644 --- a/Library/Formula/cogl.rb +++ b/Library/Formula/cogl.rb @@ -20,11 +20,9 @@ class Cogl < Formula depends_on 'pango' depends_on :x11 => '2.5.1' if build.with? 'x' - def patches - # Patch from MacPorts, reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=708825 - # https://trac.macports.org/browser/trunk/dports/graphics/cogl/files/patch-clock_gettime.diff - DATA - end + # Patch from MacPorts, reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=708825 + # https://trac.macports.org/browser/trunk/dports/graphics/cogl/files/patch-clock_gettime.diff + patch :DATA def install system "./autogen.sh" if build.head? -- cgit v1.2.3