[67788] trunk/dports/x11/wxgtk

macsforever2000 at macports.org macsforever2000 at macports.org
Tue May 18 07:59:02 PDT 2010


Revision: 67788
          http://trac.macports.org/changeset/67788
Author:   macsforever2000 at macports.org
Date:     2010-05-18 07:58:56 -0700 (Tue, 18 May 2010)
Log Message:
-----------
Build fix. (#23708)

Modified Paths:
--------------
    trunk/dports/x11/wxgtk/Portfile

Added Paths:
-----------
    trunk/dports/x11/wxgtk/files/patch-gsocket.diff

Modified: trunk/dports/x11/wxgtk/Portfile
===================================================================
--- trunk/dports/x11/wxgtk/Portfile	2010-05-18 14:14:23 UTC (rev 67787)
+++ trunk/dports/x11/wxgtk/Portfile	2010-05-18 14:58:56 UTC (rev 67788)
@@ -21,7 +21,8 @@
 				port:libpng port:freetype \
 				port:zlib
 
-patchfiles		patch-Makefile.in
+patchfiles		patch-Makefile.in \
+                patch-gsocket.diff
 
 
 configure.args	--with-gtk --with-libpng --with-libjpeg --with-libtiff \

Added: trunk/dports/x11/wxgtk/files/patch-gsocket.diff
===================================================================
--- trunk/dports/x11/wxgtk/files/patch-gsocket.diff	                        (rev 0)
+++ trunk/dports/x11/wxgtk/files/patch-gsocket.diff	2010-05-18 14:58:56 UTC (rev 67788)
@@ -0,0 +1,16 @@
+--- src/gtk/gsockgtk.cpp.orig	2007-05-14 05:15:32.000000000 -0400
++++ src/gtk/gsockgtk.cpp	2010-02-17 13:25:36.000000000 -0500
+@@ -15,9 +15,13 @@
+ #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"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100518/1ab54b8f/attachment.html>


More information about the macports-changes mailing list