opnsense-ports/games/adonthell/files/patch-src_prefs.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
498 B
C++

--- src/prefs.cc.orig 2007-11-21 17:58:31.000000000 +0100
+++ src/prefs.cc 2007-11-21 17:58:43.000000000 +0100
@@ -144,7 +144,7 @@
case 'c':
{
python::init ();
- python::exec_string ("import compileall; compileall.compile_dir (\".\", 0);");
+ python::exec_string ((char *)"import compileall; compileall.compile_dir (\".\", 0);");
python::cleanup ();
exit (0);
break;