patch-main_cpp 473 B

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