aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2012-07-03 10:18:52 -0500
committerMisty De Meo2012-07-03 10:18:52 -0500
commit3537b74223d6bbef128f9135197c0901576d7c3a (patch)
treec9ced28902f0f15acb99f2810f176fd37f043c6a /Library/Formula
parent0da5c942ebda1cd347ec21546e8d1fe912f2626d (diff)
downloadhomebrew-3537b74223d6bbef128f9135197c0901576d7c3a.tar.bz2
abiword: patch for glib headers
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/abiword.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/abiword.rb b/Library/Formula/abiword.rb
index d6e820de8..1ba1516c9 100644
--- a/Library/Formula/abiword.rb
+++ b/Library/Formula/abiword.rb
@@ -20,9 +20,31 @@ class Abiword < Formula
depends_on 'wv'
depends_on 'imagemagick'
+ def patches
+ if ARGV.build_devel?
+ {:p0 => "http://bugzilla.abisource.com/attachment.cgi?id=5477"}
+ else
+ DATA
+ end
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
+
+__END__
+diff --git a/src/af/util/xp/ut_go_file.h b/src/af/util/xp/ut_go_file.h
+index e29d7b7..8d5f608 100644
+--- a/src/af/util/xp/ut_go_file.h
++++ b/src/af/util/xp/ut_go_file.h
+@@ -31,7 +31,6 @@
+
+ #include <glib.h>
+ #include <gsf/gsf.h>
+-#include <glib/gerror.h>
+ #include <time.h>
+
+ G_BEGIN_DECLS