Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > eebac78c5dcc7e4c4e16cbefb10c58fc > files > 2

jag-0.3.1-2.1.mga1.src.rpm

diff -urN jag-0.3.1-src/Game.pro jag-0.3.1-src-patched/Game.pro
--- jag-0.3.1-src/Game.pro	2009-12-13 22:21:08.000000000 +1000
+++ jag-0.3.1-src-patched/Game.pro	2010-02-13 10:04:40.871178674 +1000
@@ -5,9 +5,9 @@
     opengl
 unix: { 
     TARGET = ./bin/jag
-    target.path = /usr/local/bin/
+    target.path = /usr/bin/
     INSTALLS += target
-    datas.path = /usr/local/games/jag
+    datas.path = /usr/share/jag
     datas.files = data
     INSTALLS += datas
     LIBS += -lXrandr
diff -urN jag-0.3.1-src/main.cpp jag-0.3.1-src-patched/main.cpp
--- jag-0.3.1-src/main.cpp	2009-12-14 07:52:20.000000000 +1000
+++ jag-0.3.1-src-patched/main.cpp	2010-02-13 10:15:29.276053389 +1000
@@ -34,7 +34,7 @@
   // 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 = "/usr/share/jag/data/";
 #endif
 
   langPath = resourcePath + "lang/";