From e616bddb3dcf7eb3f56a38a4794646d048b32e93 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sun, 15 Jul 2012 16:57:26 -0700 Subject: [PATCH] libinfinity: add `depends_on :x11` libinfinity-0.5.2 requires a dependency on :x11 so that pkg-config can find freetype2 for cairo. Otherwise two libinfinity libraries will not be created, which will cause other packages that use libinfinity to fail, like gobby. Tested on Lion with llvm from XCode-4.3.3. Closes Homebrew/homebrew#13416. Signed-off-by: Misty De Meo --- Formula/libinfinity.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/libinfinity.rb b/Formula/libinfinity.rb index b438967229..2ce5c23fea 100644 --- a/Formula/libinfinity.rb +++ b/Formula/libinfinity.rb @@ -10,8 +10,10 @@ class Libinfinity < Formula depends_on 'gtk+' depends_on 'gnutls' depends_on 'libgsasl' + depends_on :x11 # Reported upstream here: http://gobby.0x539.de/trac/ticket/595 + # Supposedly fixed in HEAD. Test and remove at libinfinity-0.5.3. fails_with :clang do build 318 cause 'Non-void function should return a value'