without this patch wxwidgets do not build using latest dependecies
for details see http://trac.wxwidgets.org/ticket/10883
--- /dev/null
+--- wxwidgets-2.8.10/src/gtk/gsockgtk-old.cpp 2009-03-06 13:11:40.000000000 +0100
++++ wxwidgets-2.8.10/src/gtk/gsockgtk.cpp 2009-10-11 20:47:24.000000000 +0200
+@@ -15,8 +15,13 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
++// newer versions of glib define its own GSocket but we unfortunately use this
++// name in our own (semi-)public header and so can't change it -- rename glib
++// one instead
++#define GSocket GlibGSocket
+ #include <gdk/gdk.h>
+ #include <glib.h>
++#undef GSocket
+
+ #include "wx/gsocket.h"
+ #include "wx/unix/gsockunx.h"