summaryrefslogtreecommitdiff
path: root/games/clanbomber/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/clanbomber/patches')
-rw-r--r--games/clanbomber/patches/patch-aa21
-rw-r--r--games/clanbomber/patches/patch-ab12
2 files changed, 33 insertions, 0 deletions
diff --git a/games/clanbomber/patches/patch-aa b/games/clanbomber/patches/patch-aa
new file mode 100644
index 00000000000..5faab07413e
--- /dev/null
+++ b/games/clanbomber/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+--- clanbomber/Resources.cpp.orig Fri Dec 15 00:10:49 2000
++++ clanbomber/Resources.cpp Fri Dec 15 00:13:12 2000
+@@ -24,6 +24,7 @@
+ #include <ClanLib/Core/Sound/soundbuffer.h>
+
+ #include "Resources.h"
++#include <config.h>
+
+ CL_ResourceManager* Resources::res = NULL;
+
+@@ -110,8 +111,7 @@
+ try
+ {
+ res = CL_ResourceManager::create(
+- "/usr/share/clanbomber/clanbomber.dat",
+- true);
++ BOMBERDATDIR, true);
+ }
+ catch (CL_Error err)
+ {
diff --git a/games/clanbomber/patches/patch-ab b/games/clanbomber/patches/patch-ab
new file mode 100644
index 00000000000..96bb9de78c1
--- /dev/null
+++ b/games/clanbomber/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+--- clanbomber/ClanBomber.cpp.orig Fri Dec 15 00:27:16 2000
++++ clanbomber/ClanBomber.cpp Fri Dec 15 00:27:46 2000
+@@ -95,7 +95,7 @@
+ show_fps = false;
+ key_F1 = false;
+ #ifndef WIN32
+- map_path = "maps";
++ map_path = BOMBERMAPS;
+ if (!opendir(map_path))
+ {
+ map_path = "/usr/local/share/clanbomber/maps";