You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-fps/blackshades/files/blackshades-datadir.patch

19 lines
249 B

--- a/Source/Main.cpp
+++ b/Source/Main.cpp
@@ -1,6 +1,7 @@
/********************> Headers <*****/
#include "Game.h"
+#include <unistd.h>
@@ -17,6 +18,7 @@
int main( int argc, char *argv[] )
{
+ chdir("@DATADIR@");
#ifdef OS9