aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 12:13:30 -0500
committerJack Nagel2014-03-18 14:52:50 -0500
commitb87b905bdd2b23f8929e89ebf48329de670a033a (patch)
tree263218eac14bb97be59f091d5e94558042095ad5 /Library/Formula
parentdfbf0e510fc169844f704ea2b425e0a6d444bc9e (diff)
downloadhomebrew-b87b905bdd2b23f8929e89ebf48329de670a033a.tar.bz2
cogl: use patch DSL
Diffstat (limited to 'Library/Formula')
-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?