Added libalien-wxwidgets-perl
[pkg-perl] / deb-src / libalien-wxwidgets-perl / libalien-wxwidgets-perl-0.50 / patches / wxWidgets-2.8.10-gsocket.patch
diff --git a/deb-src/libalien-wxwidgets-perl/libalien-wxwidgets-perl-0.50/patches/wxWidgets-2.8.10-gsocket.patch b/deb-src/libalien-wxwidgets-perl/libalien-wxwidgets-perl-0.50/patches/wxWidgets-2.8.10-gsocket.patch
new file mode 100644 (file)
index 0000000..e1def03
--- /dev/null
@@ -0,0 +1,14 @@
+diff -r -u src/gtk/gsockgtk.cpp src/gtk/gsockgtk.cpp
+--- src/gtk/gsockgtk.cpp       2009-10-12 12:31:05.852113325 +0200
++++ src/gtk/gsockgtk.cpp       2009-10-12 12:31:30.832115248 +0200
+@@ -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"