d099720ba2
Add a fails_with :clang block for the issue raised in Homebrew/homebrew#12462: non-void function `inf_communication_method_received` should return a value. This issue has been reported upstream to their Trac: http://gobby.0x539.de/trac/ticket/595 Closes Homebrew/homebrew#12588. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
32 lines
868 B
Ruby
32 lines
868 B
Ruby
require 'formula'
|
|
|
|
class Libinfinity < Formula
|
|
homepage 'http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity'
|
|
url 'http://releases.0x539.de/libinfinity/libinfinity-0.5.2.tar.gz'
|
|
md5 '1b2eee8150654baa7bba5900b96ffdc3'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'glib'
|
|
depends_on 'gtk+'
|
|
depends_on 'gnutls'
|
|
depends_on 'libgsasl'
|
|
|
|
# Reported upstream here: http://gobby.0x539.de/trac/ticket/595
|
|
fails_with :clang do
|
|
build 318
|
|
cause 'Non-void function should return a value'
|
|
end
|
|
|
|
# MacPorts patch to fix pam include
|
|
def patches
|
|
{ :p0 => [
|
|
"https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff"
|
|
]}
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|