updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / syasokoban / fixpath.patch
blobb999df3187deef8e99d2e3913124546e2d8b4f2f
1 diff -Naur syasokoban-2.0.1/src/djDesktop.cpp syasokoban-2.0.1-new/src/djDesktop.cpp
2 --- syasokoban-2.0.1/src/djDesktop.cpp 2007-07-21 22:22:10.000000000 +0200
3 +++ syasokoban-2.0.1-new/src/djDesktop.cpp 2008-05-26 13:49:39.000000000 +0200
4 @@ -15,7 +15,7 @@
6 std::string GetDataPath()
8 - return std::string("data/");
9 + return std::string("/usr/share/syasokoban/");
12 CdjDesktop::CdjDesktop()
13 diff -Naur syasokoban-2.0.1/src/djSettings.cpp syasokoban-2.0.1-new/src/djSettings.cpp
14 --- syasokoban-2.0.1/src/djSettings.cpp 2007-07-21 22:22:10.000000000 +0200
15 +++ syasokoban-2.0.1-new/src/djSettings.cpp 2008-05-26 13:50:54.000000000 +0200
16 @@ -7,6 +7,8 @@
17 #include "djSettings.h"
18 #include "djUtils.h"
19 #include <stdio.h>
20 +#include <stdlib.h>
21 +#include <string.h>
23 char g_szConfigFile[2048] = { 0 };