File roadfighter-1.0.1269-dir.patch of Package roadfighter

--- src/main.cpp
+++ src/main.cpp
@@ -6,6 +6,7 @@
 #include <time.h>
 #endif
 
+#include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include "SDL.h"
@@ -128,6 +129,7 @@
 #else
 int main(int argc, char** argv)
 {
+	chdir(DATADIR);
 	setupTickCount();
 
 	{
openSUSE Build Service is sponsored by