aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/center-im.rb24
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>
+