[MacPorts] #23708: wxgtk patch enhancement

MacPorts noreply at macports.org
Thu Mar 24 09:01:06 PDT 2016


#23708: wxgtk patch enhancement
------------------------+-------------------------------
  Reporter:  dikshie@…  |      Owner:  macsforever2000@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  1.8.2
Resolution:  fixed      |   Keywords:  haspatch
      Port:  wxgtk      |
------------------------+-------------------------------
Description changed by ryandesign@…:

Old description:

> i use macport 1.8.2 and i failed to build wxgtk.it seems wxgtk need this
> patch.[[BR]]
>
> --- src/gtk/gsockgtk.cpp.orig   2010-02-14 18:31:48.000000000 +0900[[BR]]
> +++ src/gtk/gsockgtk.cpp        2010-02-14 18:33:07.000000000 +0900[[BR]]
> @@ -14,10 +14,10 @@[[BR]]
>  #include <assert.h>[[BR]]
>  #include <stdlib.h>[[BR]]
>  #include <stdio.h>[[BR]]
> -[[BR]]
> +#define GSocket GlibGSocket[[BR]]
>  #include <gdk/gdk.h>[[BR]]
>  #include <glib.h>[[BR]]
> -[[BR]]
> +#undef GSocket[[BR]]
>  #include "wx/gsocket.h"[[BR]]
>  #include "wx/unix/gsockunx.h"[[BR]]

New description:

 i use macport 1.8.2 and i failed to build wxgtk.it seems wxgtk need this
 patch.

 {{{
 --- src/gtk/gsockgtk.cpp.orig   2010-02-14 18:31:48.000000000 +0900
 +++ src/gtk/gsockgtk.cpp        2010-02-14 18:33:07.000000000 +0900
 @@ -14,10 +14,10 @@
  #include <assert.h>
  #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"
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/23708#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list