From c421b1925bdf8d747d4588acaf1324eccf0cfa48 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:50 -0500 Subject: gcab: use patch DSL --- Library/Formula/gcab.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library') 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", -- cgit v1.2.3