Subject: | wxWidgets' GSocket conflicts with Glib's one |
wxWidgets 2.8 conflicts with Glib 2.21, as described on
http://trac.wxwidgets.org/ticket/10883.
After applying solution from wxWidgets' commit 61009
(http://trac.wxwidgets.org/changeset/61009) everything compiles fine.
I propose to add this as Alien-wxWidgets' patch against wxWidgets 2.8.
Subject: | wxWidgets-2.8.10-brokengsocket.patch |
diff -r -u src/gtk/gsockgtk.cpp src/gtk/gsockgtk.cpp
--- src/gtk/gsockgtk.cpp 2009-10-12 12:31:05.852113325 +0200
+++ src/gtk/gsockgtk.cpp 2009-10-12 12:31:30.832115248 +0200
@@ -15,8 +15,10 @@
#include <stdlib.h>
#include <stdio.h>
+#define GSocket GlibGSocket
#include <gdk/gdk.h>
#include <glib.h>
+#undef GSocket
#include "wx/gsocket.h"
#include "wx/unix/gsockunx.h"