patches/wxwidgets-03-changeset_r61009.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2760 6102b8653c96
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2760
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     1
--- wxWidgets-2.8.10-orig/src/gtk/gsockgtk.cpp	2009-03-06 12:11:40.000000000 +0000
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     2
+++ wxWidgets-2.8.10/src/gtk/gsockgtk.cpp	2010-06-04 08:23:48.380627757 +0000
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     3
@@ -15,8 +15,13 @@
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     4
 #include <stdlib.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     5
 #include <stdio.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     6
 
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     7
+// newer versions of glib define its own GSocket but we unfortunately use this
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     8
+// name in our own (semi-)public header and so can't change it -- rename glib
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     9
+// one instead
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    10
+#define GSocket GlibGSocket
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    11
 #include <gdk/gdk.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    12
 #include <glib.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    13
+#undef GSocket
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    14
 
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    15
 #include "wx/gsocket.h"
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    16
 #include "wx/unix/gsockunx.h"