Modified: users/mojca/wxports/gis/grass/Portfile (110473 => 110474)
--- users/mojca/wxports/gis/grass/Portfile 2013-08-31 10:22:28 UTC (rev 110473)
+++ users/mojca/wxports/gis/grass/Portfile 2013-08-31 10:38:38 UTC (rev 110474)
@@ -43,11 +43,12 @@
compiler.blacklist *clang*
patchfiles \
- patch-Makefile.diff \
patch-configure.diff \
+ patch-gui-wxpython-core-globalvar.py.diff \
+ patch-gui-wxpython-gui_core-ghelp.py.diff \
+ patch-lib-init-grass.src.diff \
patch-macosx_Makefile.diff \
- patch-gui-wxpython-gui_core-ghelp.py.diff \
- patch-lib-init-grass.src.diff
+ patch-Makefile.diff
# List of all python scripts. Used later to ensure usage of python27 (and not
# the currently active python)
Added: users/mojca/wxports/gis/grass/files/patch-gui-wxpython-core-globalvar.py.diff (0 => 110474)
--- users/mojca/wxports/gis/grass/files/patch-gui-wxpython-core-globalvar.py.diff (rev 0)
+++ users/mojca/wxports/gis/grass/files/patch-gui-wxpython-core-globalvar.py.diff 2013-08-31 10:38:38 UTC (rev 110474)
@@ -0,0 +1,12 @@
+just a temporary (pretty much useless) workaround that allows to start the GUI with wxPython 2.9.4
+--- gui/wxpython/core/globalvar.py.orig
++++ gui/wxpython/core/globalvar.py
+@@ -59,7 +59,7 @@ def CheckForWx():
+ raise ValueError('Your wxPython version is %s.%s.%s.%s' % tuple(version.split('.')))
+ if map(int, version.split('.')) >= unsupportedVersion:
+ print >> sys.stderr, 'ERROR: wxGUI does not support wxPython %s yet.' % version
+- sys.exit(1)
++ # sys.exit(1)
+ except ImportError, e:
+ print >> sys.stderr, 'ERROR: wxGUI requires wxPython. %s' % str(e)
+ sys.exit(1)