patch-src_pingus_pingus_main_cpp 810 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-src_pingus_pingus_main_cpp,v 1.2 2017/05/26 18:09:15 espie Exp $
  2. Index: src/pingus/pingus_main.cpp
  3. --- src/pingus/pingus_main.cpp.orig
  4. +++ src/pingus/pingus_main.cpp
  5. @@ -453,7 +453,7 @@ PingusMain::init_path_finder()
  6. CFRelease(ref);
  7. g_path_manager.set_path("data");
  8. #else
  9. - g_path_manager.set_path("data"); // assume game is run from source dir
  10. + g_path_manager.set_path("${PREFIX}/share/pingus"); // assume game is run from source dir
  11. #endif
  12. }
  13. @@ -465,7 +465,7 @@ PingusMain::init_path_finder()
  14. void
  15. PingusMain::print_greeting_message()
  16. {
  17. - std::string greeting = "Welcome to Pingus "VERSION;
  18. + std::string greeting = "Welcome to Pingus " VERSION;
  19. greeting += "!";
  20. std::cout << greeting << std::endl;
  21. for (unsigned int i = 0; i < greeting.length(); ++i)