aboutsummaryrefslogtreecommitdiff
path: root/games/untahris/files
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-16 10:00:59 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-09-16 10:00:59 +0000
commit7012f9965c47479fdc0045224822613bcc50a166 (patch)
tree4145c1f0d663ffe51f6c70aaeccf0f81e340a62b /games/untahris/files
parentc175ac8549bf718c28b1b013403a6d1c6fe4bbae (diff)
downloadports-7012f9965c47479fdc0045224822613bcc50a166.tar.gz
ports-7012f9965c47479fdc0045224822613bcc50a166.zip
Notes
Diffstat (limited to 'games/untahris/files')
-rw-r--r--games/untahris/files/patch-intface.cpp11
-rw-r--r--games/untahris/files/patch-untahris.cpp19
2 files changed, 30 insertions, 0 deletions
diff --git a/games/untahris/files/patch-intface.cpp b/games/untahris/files/patch-intface.cpp
new file mode 100644
index 000000000000..e6dab8a29897
--- /dev/null
+++ b/games/untahris/files/patch-intface.cpp
@@ -0,0 +1,11 @@
+--- intface.cpp.orig Mon Sep 4 19:16:15 2006
++++ intface.cpp Fri Sep 8 06:57:45 2006
+@@ -517,7 +517,7 @@
+ thruster.pixel[y][x] = 'P';
+ }
+
+- char buf[64];
++ char buf[1024];
+ sprintf(buf, "graph%d.unt", d.Res);
+ FILE *f = fopen(buf, "rt");
+ if(f) {
diff --git a/games/untahris/files/patch-untahris.cpp b/games/untahris/files/patch-untahris.cpp
new file mode 100644
index 000000000000..01b2da071e96
--- /dev/null
+++ b/games/untahris/files/patch-untahris.cpp
@@ -0,0 +1,19 @@
+--- untahris.cpp.orig Tue Sep 5 16:50:04 2006
++++ untahris.cpp Fri Sep 8 06:54:50 2006
+@@ -6,7 +6,7 @@
+
+ #include "untahris.h"
+
+-char *configfile = "config.unt";
++char *configfile = ".untahris.config";
+
+ #include "tools.cpp"
+ #include "intface.cpp"
+@@ -117,6 +117,7 @@
+ }
+
+ int main(int argc, char **argv) {
++ chdir(getenv("HOME"));
+ g.sizeX = 0;
+ g.sizeY = 0;
+ d.ofsX = 0;