c4d9c2a99c
a2ps: migrate patches argp-standalone: migrate patch autotrace: migrate patches avidemux: reference secure link bibtex2html: migrate patches bsdmake: migrate patches cctools: migrate patches cdparanoia: migrate patches cdrdao: reference secure links center-im: migrate patch clisp: migrate patch clucene: migrate patches cvs: migrate to sha256 daemon: migrate patch dvdrtools: migrate patches exim: style nits exim: migrate option ghostscript: migrate patch glib: migrate patch gpsd: migrate patch graphviz: migrate patch gtkglext: migrate patches gupnp: migrate patch hping: migrate patches id3lib: migrate patches jigdo: migrate patch jove: migrate patch ld64: migrate patches libcanberra: migrate patch libgcrypt: migrate patch libinfinity: migrate patch liblinear: migrate patch libmms: migrate patch libnet: migrate patch lsdvd: migrate patches
57 lines
1.8 KiB
Ruby
57 lines
1.8 KiB
Ruby
class CenterIm < Formula
|
|
desc "Text-mode multi-protocol instant messaging client"
|
|
homepage "http://www.centerim.org/index.php/Main_Page"
|
|
url "http://www.centerim.org/download/releases/centerim-4.22.10.tar.gz"
|
|
sha256 "93ce15eb9c834a4939b5aa0846d5c6023ec2953214daf8dc26c85ceaa4413f6e"
|
|
revision 1
|
|
|
|
bottle do
|
|
revision 1
|
|
sha256 "5a51f0130fcd601aeed50ae6f66008aaa0ec96f6ac3e7bc828b627f04b46b9f2" => :yosemite
|
|
sha256 "673992c76745d9509dd32e71c964946018584db447b37d02a21f332b508c619d" => :mavericks
|
|
sha256 "934ab216ab1f6eb9033cfb1bbbe720f2a7fa5190eb64c245d2140694c832a965" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "gettext"
|
|
depends_on "openssl"
|
|
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
|
|
patch :DATA
|
|
|
|
patch :p0 do
|
|
url "https://raw.githubusercontent.com/Homebrew/patches/677cb38/center-im/patch-libjabber_jconn.c.diff"
|
|
sha256 "ed8d10075c23c7dec2a782214cb53be05b11c04e617350f6f559f3c3bf803cfe"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-msn",
|
|
"--with-openssl=#{Formula["openssl"].opt_prefix}"
|
|
system "make", "install"
|
|
|
|
# /bin/gawk does not exist on OS X
|
|
inreplace bin/"cimformathistory", "/bin/gawk", "/usr/bin/awk"
|
|
end
|
|
|
|
test do
|
|
assert_match /trillian/, shell_output("#{bin}/cimconv")
|
|
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>
|
|
|