aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cogl.rb8
1 files changed, 3 insertions, 5 deletions
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?