patches/wxwidgets-07-gsocket.diff
author yippi
Wed, 09 Sep 2009 17:50:41 +0000
changeset 2159 b8da719b8025
parent 2149 patches/wxwidgets-04-gsocket.diff@ff132d1e16d9
permissions -rw-r--r--
2009-09-09 Brian Cameron <[email protected]> * SFEwxwidgets.spec, patches/wxwidgets*diff: Updated the patches so they are like the patches provided by the maintainer which will likely go upstream. The 2 large patches were broken into 5 smaller patches for easier review.

--- wxWidgets-2.8.10/src/gtk/gsockgtk.cpp-orig	2009-09-05 02:22:27.629408064 -0500
+++ wxWidgets-2.8.10/src/gtk/gsockgtk.cpp	2009-09-05 02:41:11.180272937 -0500
@@ -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"