summaryrefslogtreecommitdiff
path: root/games/openglad/files/patch-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openglad/files/patch-util.cpp')
-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;
+