12345678910111213 |
- $OpenBSD: patch-main_cpp,v 1.1.1.1 2013/01/27 23:54:51 stsp Exp $
- --- main.cpp.orig Wed Jan 9 02:56:19 2013
- +++ main.cpp Wed Jan 9 02:57:07 2013
- @@ -37,7 +37,7 @@ int main(int argc, char *argv[])
- // on X11, we'll check if data directory exists locally first
- #ifdef Q_WS_X11
- if (!QDir(resourcePath).exists())
- - resourcePath = "/usr/local/games/jag/data/";
- + resourcePath = "${TRUEPREFIX}/share/jag/";
- #endif
-
- if (!QDir(resourcePath).exists()) {
|