From 4e40499c9ce32c4f19e348cecc5704518c562399 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 8 Sep 2003 12:09:47 +0000 Subject: [maintainer update] train director to 1.18e upgrading the train director game port to 1.18e (received a request by email too) PR: ports/56589 Submitted by: Guido Falsi --- games/traindirector/files/patch-run.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'games/traindirector/files/patch-run.c') diff --git a/games/traindirector/files/patch-run.c b/games/traindirector/files/patch-run.c index 1e80164bdb6a..b95d6fdaef17 100644 --- a/games/traindirector/files/patch-run.c +++ b/games/traindirector/files/patch-run.c @@ -1,6 +1,6 @@ ---- run.c.orig Sun Sep 7 23:40:41 2003 -+++ run.c Sun Sep 7 23:42:04 2003 -@@ -20,10 +20,15 @@ +--- run.c.orig Fri Jul 18 15:53:36 2003 ++++ run.c Fri Jul 18 15:56:59 2003 +@@ -20,9 +20,13 @@ #include #include @@ -8,33 +8,31 @@ +#include #include "ask.h" #include "trsim.h" - ++ +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif -+ -+ + int assign_ok = 1; - int changed; -@@ -56,7 +61,11 @@ +@@ -56,7 +60,11 @@ { if(i >= v->size) { printf("Bad index %d: only %d elements in vector!\n", i, v->size); +#if (defined(BSD) && (BSD >= 199103)) -+ abort(); ++ abort(); +#else abort(0); +#endif } return v->ptr[i]; } -@@ -65,7 +74,11 @@ +@@ -65,7 +73,11 @@ { if(i >= v->size) { printf("Bad index %d: only %d elements in vector!\n", i, v->size); +#if (defined(BSD) && (BSD >= 199103)) -+ abort(); ++ abort(); +#else abort(0); +#endif -- cgit v1.2.3