freebsd-ports/games/golly/files/patch-wxpython.cpp
Max Brazhnikov afaa915806 Add new port games/golly:
Golly is an open source, cross-platform application for exploring
Conway's Game of Life and other cellular automata.

WWW: http://golly.sourceforge.net/
2013-01-10 17:03:15 +00:00

11 lines
533 B
C++

--- ./wxpython.cpp.orig 2012-06-12 18:04:44.000000000 +0000
+++ ./wxpython.cpp 2012-12-31 11:36:29.542997130 +0000
@@ -3026,7 +3026,7 @@
// build absolute path to Scripts/Python folder and add to Python's
// import search list so scripts can import glife from anywhere
- wxString scriptsdir = gollydir + _("Scripts");
+ wxString scriptsdir = wxString(DATADIR) + _("Scripts");
scriptsdir += wxFILE_SEP_PATH;
scriptsdir += _("Python");
// convert any \ to \\ and then convert any ' to \'