aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 12:07:50 -0500
committerJack Nagel2014-03-19 12:07:50 -0500
commitc421b1925bdf8d747d4588acaf1324eccf0cfa48 (patch)
tree91ed88014565d1c8ea6eab498f47ce9ed321d312 /Library
parenta223502825ab758d1ce9263ca6a35029b766cf55 (diff)
downloadhomebrew-c421b1925bdf8d747d4588acaf1324eccf0cfa48.tar.bz2
gcab: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gcab.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/gcab.rb b/Library/Formula/gcab.rb
index 30e6c2e28..ac9b5f47c 100644
--- a/Library/Formula/gcab.rb
+++ b/Library/Formula/gcab.rb
@@ -12,11 +12,9 @@ class Gcab < Formula
depends_on 'glib'
depends_on 'gobject-introspection'
- def patches
- # work around ld not understanding --version-script argument
- # upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=708257
- DATA
- end
+ # work around ld not understanding --version-script argument
+ # upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=708257
+ patch :DATA
def install
system "./configure", "--disable-debug",