summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2009-10-12 10:40:58 +0200
committerMarco Cavallini <m.cavallini@koansoftware.com>2009-10-12 10:40:58 +0200
commitd5e3e74b1bd98e0b3e5e828ce958a66d57a3c658 (patch)
tree6d4d0b889e8622ba7ae7b8230d502aa8f5dbe442
parent4089b4dd14270a884101cc7b8c240998c4354cd0 (diff)
Added recipes/wxwidgets/wxwidgets-2.8.10/gsockgtk-cpp-wx2810.diff
without this patch wxwidgets do not build using latest dependecies for details see http://trac.wxwidgets.org/ticket/10883
-rw-r--r--recipes/wxwidgets/wxwidgets-2.8.10/gsockgtk-cpp-wx2810.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/wxwidgets/wxwidgets-2.8.10/gsockgtk-cpp-wx2810.diff b/recipes/wxwidgets/wxwidgets-2.8.10/gsockgtk-cpp-wx2810.diff
new file mode 100644
index 0000000000..f1b796f0ed
--- /dev/null
+++ b/recipes/wxwidgets/wxwidgets-2.8.10/gsockgtk-cpp-wx2810.diff
@@ -0,0 +1,16 @@
+--- 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"