[146410] trunk/dports/graphics/wxWidgets-3.0

mojca at macports.org mojca at macports.org
Sun Mar 6 23:28:23 PST 2016


Revision: 146410
          https://trac.macports.org/changeset/146410
Author:   mojca at macports.org
Date:     2016-03-06 23:28:23 -0800 (Sun, 06 Mar 2016)
Log Message:
-----------
wxWidgets-3.0: blacklist gcc on 10.6 for libcxx build, fix a typo in patches

Modified Paths:
--------------
    trunk/dports/graphics/wxWidgets-3.0/Portfile
    trunk/dports/graphics/wxWidgets-3.0/files/patch-gtk-quartz.diff

Modified: trunk/dports/graphics/wxWidgets-3.0/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-3.0/Portfile	2016-03-07 06:56:48 UTC (rev 146409)
+++ trunk/dports/graphics/wxWidgets-3.0/Portfile	2016-03-07 07:28:23 UTC (rev 146410)
@@ -5,6 +5,7 @@
 PortGroup           active_variants 1.1
 PortGroup           select          1.0
 PortGroup           wxWidgets       1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                wxWidgets-3.0
 # ugly workaround to allow some C++11-only applications to be built on < 10.9
@@ -91,9 +92,10 @@
 
 if {${subport} eq "wxWidgets-3.0-libcxx"} {
     platform darwin {
-        depends_lib-append port:libcxx
-        configure.cxxflags-append -std=c++11
-        configure.cxx_stdlib libc++
+        compiler.blacklist-append   *gcc*
+        depends_lib-append          port:libcxx
+        configure.cxxflags-append   -std=c++11
+        configure.cxx_stdlib        libc++
     }
 }
 

Modified: trunk/dports/graphics/wxWidgets-3.0/files/patch-gtk-quartz.diff
===================================================================
--- trunk/dports/graphics/wxWidgets-3.0/files/patch-gtk-quartz.diff	2016-03-07 06:56:48 UTC (rev 146409)
+++ trunk/dports/graphics/wxWidgets-3.0/files/patch-gtk-quartz.diff	2016-03-07 07:28:23 UTC (rev 146410)
@@ -4,7 +4,7 @@
  
  #if !(wxUSE_LIBHILDON || wxUSE_LIBHILDON2)
  
-+#ifdef GDK_WINDOWING_X1
++#ifdef GDK_WINDOWING_X11
  void wxGetWorkAreaX11(Screen* screen, int& x, int& y, int& width, int& height);
 +#endif
  
@@ -30,7 +30,7 @@
  #ifdef __WXGTK__
      #include <gtk/gtk.h>
 -    #include <gdk/gdkx.h>
-+    #ifdef GDK_WINDOWING_X1
++    #ifdef GDK_WINDOWING_X11
 +        #include <gdk/gdkx.h>
 +    #else
 +        #include <gdk/gdkquartz.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160306/1e127812/attachment.html>


More information about the macports-changes mailing list