wok diff opencpn/stuff/glib.u @ rev 5212

glibc-dev: remove bloted deps (fontconfig, libgd)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 04 12:06:21 2010 +0200 (2010-04-04)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/opencpn/stuff/glib.u	Sun Apr 04 12:06:21 2010 +0200
     1.3 @@ -0,0 +1,14 @@
     1.4 +Both glib and wx define GSocket, see http://trac.wxwidgets.org/ticket/10883
     1.5 +
     1.6 +--- include/dychart.h
     1.7 ++++ include/dychart.h
     1.8 +@@ -211,7 +211,9 @@
     1.9 + 
    1.10 + #ifdef __WXGTK__
    1.11 + #ifdef ocpnUSE_GTK_OPTIMIZE
    1.12 ++#define GSocket GlibGSocket
    1.13 +     #include <gtk/gtk.h>
    1.14 ++#undef GSocket
    1.15 + #endif
    1.16 + #endif
    1.17 +