openbsd-ports/games/pingus/patches/patch-src_pingus_main_cpp
ajacoutot c38b29dbac Import pingus-0.7.2
Pingus is a free Lemmings-like game in 2D graphics.
<...>

Based on a submission from Antti Harri.
2009-03-14 14:08:38 +00:00

12 lines
603 B
Plaintext

$OpenBSD: patch-src_pingus_main_cpp,v 1.1.1.1 2009/03/14 14:08:38 ajacoutot Exp $
--- src/pingus_main.cpp.orig Tue Oct 30 09:39:56 2007
+++ src/pingus_main.cpp Sat Mar 14 15:07:08 2009
@@ -593,6 +593,7 @@ PingusMain::init_path_finder()
}
char* exe_path = br_find_exe_dir(".");
+ path_manager.add_path(std::string("${PREFIX}/share/pingus/"));
path_manager.add_path(exe_path + std::string("/../share/pingus/data/"));
path_manager.add_path(exe_path + std::string("/data"));
path_manager.add_path("data"); // assume game is run from source dir, without any magic