diff options
| author | Jack Nagel | 2013-11-10 01:00:44 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-10 01:00:55 -0600 |
| commit | c62bebb7aa8a8744c2058084fd612c1413382abc (patch) | |
| tree | 4fa6f1f416d675d100aeb7a00036ef80d1fce7c3 /Library/Formula | |
| parent | 0fad86f3d5522bc42bb99b7955b8ce1f008d04b2 (diff) | |
| download | homebrew-c62bebb7aa8a8744c2058084fd612c1413382abc.tar.bz2 | |
centerim: fix build with clang
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/center-im.rb | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/Library/Formula/center-im.rb b/Library/Formula/center-im.rb index c4a6c9851..ecc40d918 100644 --- a/Library/Formula/center-im.rb +++ b/Library/Formula/center-im.rb @@ -9,9 +9,31 @@ class CenterIm < Formula depends_on 'gettext' depends_on 'jpeg' => :optional + # Fix build with clang; 4.22.10 is an outdated release and 5.0 is a rewrite, + # so this is not reported upstream + def patches + { :p1 => DATA, + :p0 => "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff" } + end + def install system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" + "--prefix=#{prefix}", + "--disable-msn" system "make install" end end + +__END__ +diff --git a/libicq2000/libicq2000/sigslot.h b/libicq2000/libicq2000/sigslot.h +index b7509c0..024774f 100644 +--- a/libicq2000/libicq2000/sigslot.h ++++ b/libicq2000/libicq2000/sigslot.h +@@ -82,6 +82,7 @@ + #ifndef SIGSLOT_H__ + #define SIGSLOT_H__ + ++#include <cstdlib> + #include <set> + #include <list> + |
