2010-03-09 04:14:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class CenterIm < Formula
|
2010-03-09 04:14:23 +00:00
|
|
|
homepage 'http://www.centerim.org/index.php/Main_Page'
|
2013-01-27 02:14:44 +00:00
|
|
|
url 'http://www.centerim.org/download/releases/centerim-4.22.10.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '46fbac7a55f33b0d4f42568cca21ed83770650e5'
|
2010-03-09 04:14:23 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-09 04:14:23 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'jpeg' => :optional
|
|
|
|
|
2013-11-10 07:00:44 +00:00
|
|
|
# Fix build with clang; 4.22.10 is an outdated release and 5.0 is a rewrite,
|
|
|
|
# so this is not reported upstream
|
2014-03-17 00:35:06 +00:00
|
|
|
patch :DATA
|
|
|
|
patch :p0 do
|
|
|
|
url "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff"
|
|
|
|
sha1 "70bf1cb777e086fb773d99aadbcaa8db77b19bec"
|
2013-11-10 07:00:44 +00:00
|
|
|
end
|
|
|
|
|
2010-03-09 04:14:23 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2013-11-10 07:00:44 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-msn"
|
2010-03-09 04:14:23 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
2013-11-10 07:00:44 +00:00
|
|
|
|
|
|
|
__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>
|
|
|
|
|