GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

8 versions of WxWidgets.

ProgramAgeSizeByWWWSummary
WxWidgets 3.1.0-r1 1156  1244 Demi...
wxWidgets is a C++ library that lets developers create applications for
WxWidgets 3.0.3-r1 873  1287 Hish...
wxWidgets is a C++ library that lets developers create applications for
WxWidgets 3.0.2-r1 1236  878 Hish...
WxWidgets GUI Library
WxWidgets 2.8.12-r2 2000  824 Luca...
WxWidgets GUI Library
WxWidgets 2.8.11-r1 3511  816 Luca...
WxWidgets GUI Library
WxWidgets 2.8.9-r1 4010  821 Ivan...
WxWidgets GUI Library
WxWidgets 2.8.8-r1 4010  671 Vale... (none)
WxWidgets 2.6.4-r1 3511  1235 Luca...
WxWidgets GUI Library
view entry at GitHub | download recipe.bz2 file
01-GSocket.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Fixes a build error due to conflicts with 'GSocket' in new versions of GLib.
Refs http://trac.wxwidgets.org/ticket/10883.

Signed-off-by: Lucas C. Villa Real <lucasvr@gobolinux.org>

--- wxWidgets-2.6.4/src/gtk/gsockgtk.cpp.orig	2010-07-06 19:17:05.000000000 -0300
+++ wxWidgets-2.6.4/src/gtk/gsockgtk.cpp	2010-07-06 19:17:28.000000000 -0300
@@ -14,8 +14,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"