| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/games/blockout/files/ |
Upload File : |
--- BlockOut/Utils.cpp.orig 2014-05-06 16:47:55.000000000 +0700
+++ BlockOut/Utils.cpp 2015-08-17 10:34:51.000000000 +0600
@@ -207,11 +207,9 @@
return FALSE;
}
- char *blockoutHome = getenv("BL2_HOME");
+ const char *blockoutHome = getenv("BL2_HOME");
if( blockoutHome==NULL ) {
- printf("BL2_HOME environement variable if not defined !\n");
- printf("Please set the BL2_HOME to the BlockOut II installation directory (ex: BL2_HOME=/usr/local/bl2).\n");
- return FALSE;
+ blockoutHome="%%DATADIR%%";
}
strcpy( bl2Home , blockoutHome );