openbsd-ports/games/jag/patches/patch-main_cpp
stsp 5dbd94ae26 Import games/jag.
JAG is an arcade-puzzle 2D game. The aim of JAG is to break all of the
target pieces on each level, and to do this before the time runs out.
tweaks & ok landry
2013-01-27 23:54:51 +00:00

13 lines
473 B
Plaintext

$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()) {