diff options
| author | Dominyk Tiller | 2014-10-18 20:18:34 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-19 19:51:24 +0100 |
| commit | 8c5bd67a2a93629ef4fa0e5bab6e8f5e05d41d8a (patch) | |
| tree | e6373db60bd1fd091ea514cd7a14aaf363869ed2 /Library/Formula/libinfinity.rb | |
| parent | af323ba35ebb2df276d9b5cb0e2d1da7d9bd4bf5 (diff) | |
| download | homebrew-8c5bd67a2a93629ef4fa0e5bab6e8f5e05d41d8a.tar.bz2 | |
libinfinity 0.6.4
Version bump. Please don’t merge this before #33288 goes in.
Diffstat (limited to 'Library/Formula/libinfinity.rb')
| -rw-r--r-- | Library/Formula/libinfinity.rb | 52 |
1 files changed, 11 insertions, 41 deletions
diff --git a/Library/Formula/libinfinity.rb b/Library/Formula/libinfinity.rb index 81f623b6a..4aa1c9bca 100644 --- a/Library/Formula/libinfinity.rb +++ b/Library/Formula/libinfinity.rb @@ -1,10 +1,9 @@ -require 'formula' +require "formula" class Libinfinity < Formula - homepage 'http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity' - url 'http://releases.0x539.de/libinfinity/libinfinity-0.5.4.tar.gz' - sha1 '75e3349452bdd182a385f62100c09f47b277b145' - revision 1 + homepage "http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity" + url "http://releases.0x539.de/libinfinity/libinfinity-0.6.4.tar.gz" + sha1 "93477ccefcedf28bba7f709f3387920040cbcedc" bottle do sha1 "e361f9f9fe5323bddccb4d47966a9920b2d93c39" => :mavericks @@ -12,18 +11,14 @@ class Libinfinity < Formula sha1 "e99f4d2708964047363a20ee31b0acd16272c784" => :lion end - depends_on 'pkg-config' => :build - depends_on 'glib' - depends_on 'gtk+' - depends_on 'gnutls' - depends_on 'gsasl' + depends_on "pkg-config" => :build + depends_on "glib" + depends_on "gtk+" + depends_on "gnutls" + depends_on "gsasl" depends_on :x11 - # Reported and closed upstream, but not seeing the fix: - # http://gobby.0x539.de/trac/ticket/595 - patch :DATA - - # MacPorts patch to fix pam include + # MacPorts patch to fix pam include. This is still applicable to 0.6.4. patch :p0 do url "https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff" sha1 "30bdd7dc80bf50fc1e0d9747fc67d84b229c01ef" @@ -32,31 +27,6 @@ class Libinfinity < Formula def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" end end - -__END__ -diff --git a/libinfinity/communication/inf-communication-method.c b/libinfinity/communication/inf-communication-method.c -index 8526ab8..12a9923 100644 ---- a/libinfinity/communication/inf-communication-method.c -+++ b/libinfinity/communication/inf-communication-method.c -@@ -299,13 +299,13 @@ inf_communication_method_received(InfCommunicationMethod* method, - { - InfCommunicationMethodIface* iface; - -- g_return_if_fail(INF_COMMUNICATION_IS_METHOD(method)); -- g_return_if_fail(INF_IS_XML_CONNECTION(connection)); -- g_return_if_fail(inf_communication_method_is_member(method, connection)); -- g_return_if_fail(xml != NULL); -+ g_return_val_if_fail(INF_COMMUNICATION_IS_METHOD(method), NULL); -+ g_return_val_if_fail(INF_IS_XML_CONNECTION(connection), NULL); -+ g_return_val_if_fail(inf_communication_method_is_member(method, connection), NULL); -+ g_return_val_if_fail(xml != NULL, NULL); - - iface = INF_COMMUNICATION_METHOD_GET_IFACE(method); -- g_return_if_fail(iface->received != NULL); -+ g_return_val_if_fail(iface->received != NULL, NULL); - - return iface->received(method, connection, xml); - } |
