freebsd-ports/games/stormbaancoureur/files/patch-main.cxx
Martin Wilke 8dc787924e Sturmbahnfahrer... for expert drivers only. If you want to master
it, try to have the laws of physics work with you, not against you.

Sturmbahnfahrer is a game by Bram Stolk.

WWW: http://www.sturmbahnfahrer.com/

PR:		ports/102931
Submitted by:	Dmitry Marakasov <amdmi3(at)mail.ru>
2006-09-11 08:36:08 +00:00

16 lines
548 B
C++

--- main.cxx.orig Mon Sep 4 20:04:09 2006
+++ main.cxx Wed Sep 6 05:03:34 2006
@@ -655,13 +655,7 @@
fprintf(stderr,"plib is (c) by Steve Baker\n");
fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n");
- char *bindirname = dirname(argv[0]);
- if (!strcmp(bindirname,"."))
dirprefix="/usr/share/games/sturmbahnfahrer";
- else
- {
- dirprefix = dirname(bindirname) + std::string("/share/games/sturmbahnfahrer");
- }
if (getenv("PLODE_DATADIR"))
dirprefix = getenv("PLODE_DATADIR");
if (getenv("PLODE_DISPLAYMODE"))