summaryrefslogtreecommitdiff
path: root/games/openglad/files/patch-util.cpp
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-14 05:18:29 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-14 05:18:29 +0000
commitb5992f650e8d63bc153f07438af25a6289bf9da4 (patch)
tree13913b19af79557d518075cee7d65ae9a9fa3a07 /games/openglad/files/patch-util.cpp
parent- use configures --includedir (diff)
Add openglad 0.98, an SDL port of an old DOS game called Gladiator.
PR: 52178 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=80956
Diffstat (limited to '')
-rw-r--r--games/openglad/files/patch-util.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/openglad/files/patch-util.cpp b/games/openglad/files/patch-util.cpp
new file mode 100644
index 000000000000..7656ef45f7e7
--- /dev/null
+++ b/games/openglad/files/patch-util.cpp
@@ -0,0 +1,18 @@
+--- src/util.cpp.orig Tue Oct 1 20:41:14 2002
++++ src/util.cpp Tue May 13 16:10:35 2003
+@@ -160,6 +160,7 @@
+ if (cfg.query("dirs", "data"))
+ {
+ filepath = cfg.query("dirs", "data");
++ filepath += "/";
+ filepath += pos_dir;
+ filepath += file;
+
+@@ -171,6 +172,7 @@
+ }
+
+ filepath = DATADIR;
++ filepath += "/";
+ filepath += pos_dir;
+ filepath += file;
+