mxcl/homebrew — pull request #9678 by thughes (2012-01-19 20:52:54+00:00)
Title: Upgrade pango to 1.29.4.

The current pango version fails when compiling wireshark 1.70 since we're using glib 2.30.x, which removed G_CONST_RETURN (see http://www.niftiestsoftware.com/2011/09/30/error-expected-declaration-specifiers-or-%E2%80%98-%E2%80%99-before-%E2%80%98g_const_return%E2%80%99/):

/usr/bin/llvm-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../wiretap -I/usr/local/Cellar/libgcrypt/1.5.0/include -I/usr/local/Cellar/libgpg-error/1.10/include -I/usr/local/Cellar/gnutls/2.12.16/include -I/usr/local/Cellar/cairo/1.10.2/include -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/include '-DPLUGIN_DIR="/usr/local/Cellar/wireshark/1.7.0/lib/wireshark/plugins/1.7.0"' -Werror -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -no-cpp-precomp -D_FORTIFY_SOURCE=2 -D_U_="__attribute__((unused))" -O3 -w -pipe -march=core2 -msse4 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security -Wold-style-definition -I/usr/local/include -D_REENTRANT -I/usr/local/Cellar/cairo/1.10.2/include/cairo -I/usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.8/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.2.0/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.24.0/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.30.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.2/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.2/include -I/usr/local/Cellar/pixman/0.24.0/include/pixman-1 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng15 -c -o libui_a-color_edit_dlg.o `test -f 'color_edit_dlg.c' || echo './'`color_edit_dlg.c
In file included from /usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-gravity.h:98,
from /usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-types.h:91,
from /usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-font.h:26,
from /usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango.h:25,
from /usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0/gdk/gdktypes.h:37,
from /usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0/gdk/gdkscreen.h:32,
from /usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0/gdk/gdk.h:32,
from /usr/local/Cellar/gtk+/2.24.8/include/gtk-2.0/gtk/gtk.h:32,
from color_dlg.c:31:
/usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-script.h:132: error: expected declaration specifiers or ‘...’ before ‘G_CONST_RETURN’
/usr/local/Cellar/pango/1.28.4/include/pango-1.0/pango/pango-script.h:133: error: expected declaration specifiers or ‘...’ before ‘G_CONST_RETURN’