diff options
| author | Alexis Hildebrandt | 2012-05-14 19:39:54 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-05-15 21:05:08 -0700 |
| commit | 11269391ca33de781d03776a82085954ce23a8da (patch) | |
| tree | a36ee93eabbc4b1dd438778e87b332e9cbcbca51 /Library/Formula | |
| parent | 181e445c5701070adb63ac3365c68040f26f6a6a (diff) | |
| download | homebrew-11269391ca33de781d03776a82085954ce23a8da.tar.bz2 | |
loudmouth: fix compile error with glib 2.32.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/loudmouth.rb | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Library/Formula/loudmouth.rb b/Library/Formula/loudmouth.rb index 1c2c02bd4..1a1795de7 100644 --- a/Library/Formula/loudmouth.rb +++ b/Library/Formula/loudmouth.rb @@ -3,14 +3,20 @@ require 'formula' class Loudmouth < Formula homepage 'http://www.loudmouth-project.org/' url 'http://mcabber.com/files/loudmouth-1.4.3-20111204.tar.bz2' - sha1 '38010a74d28fa06624b7461e515aec47c0ff140e' version '1.4.3.111204' + sha1 '38010a74d28fa06624b7461e515aec47c0ff140e' depends_on 'pkg-config' => :build depends_on 'glib' depends_on 'gnutls' depends_on 'libidn' + # Fix compilation against newer glib. See: + # https://github.com/mxcl/homebrew/issues/12240 + def patches + DATA + end + def install system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -18,3 +24,20 @@ class Loudmouth < Formula system "make install" end end + + +__END__ +diff --git a/loudmouth/lm-error.c b/loudmouth/lm-error.c +index 103aaaf..74d3315 100644 +--- a/loudmouth/lm-error.c ++++ b/loudmouth/lm-error.c +@@ -25,7 +25,7 @@ + */ + + #include <config.h> +-#include <glib/gerror.h> ++#include <glib.h> + #include "lm-error.h" + + GQuark + |
