mxcl/homebrew — pull request #12933 by 2bits (2012-06-20 06:19:56+00:00)
Title: cairo: fix llvm compile error, add --universal

Cairo-1.10.2 doesn't build well with link time optimization.
Patch `configure` to remove `-flto`. This fixes the build error
with llvm. This also fixes a build error when brewing cairo as
a universal library.
Add `--universal` option. Works if gettext & glib are universal.
Patch `configure` to change `-Werror-implicit-function-declaration`
to a warning with `-Wimplicit-function-declaration`. Fixes a
build error when universal & clang.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested by building py2cairo and `import cairo`.

Fixes #12923 and #10400