From ec2654cd05c0778be9b6f84d8b634197c732dcfb Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 28 Sep 2003 01:08:49 +0000 Subject: [PATCH] prototype fixes and missing RCS Ids --- games/xsoldier/patches/patch-Imakefile | 1 + games/xsoldier/patches/patch-ending_c | 11 +++++++++++ games/xsoldier/patches/patch-game_c | 11 +++++++++++ games/xsoldier/patches/patch-main_c | 24 +++++++++++++++++++++--- games/xsoldier/patches/patch-manage_c | 1 + games/xsoldier/patches/patch-opening_c | 11 +++++++++++ 6 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 games/xsoldier/patches/patch-ending_c create mode 100644 games/xsoldier/patches/patch-game_c create mode 100644 games/xsoldier/patches/patch-opening_c diff --git a/games/xsoldier/patches/patch-Imakefile b/games/xsoldier/patches/patch-Imakefile index e11bcd80b74..b5dbc4ad76d 100644 --- a/games/xsoldier/patches/patch-Imakefile +++ b/games/xsoldier/patches/patch-Imakefile @@ -1,3 +1,4 @@ +$OpenBSD: patch-Imakefile,v 1.3 2003/09/28 01:08:49 naddy Exp $ --- Imakefile.orig Fri Feb 28 08:48:57 1997 +++ Imakefile Mon Sep 16 02:01:05 2002 @@ -6,58 +6,58 @@ diff --git a/games/xsoldier/patches/patch-ending_c b/games/xsoldier/patches/patch-ending_c new file mode 100644 index 00000000000..f3e65d075be --- /dev/null +++ b/games/xsoldier/patches/patch-ending_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-ending_c,v 1.1 2003/09/28 01:08:49 naddy Exp $ +--- ending.c.orig 2003-09-28 03:00:54.000000000 +0200 ++++ ending.c 2003-09-28 03:01:12.000000000 +0200 +@@ -8,6 +8,7 @@ + */ + + #include ++#include + #include + #include + #include diff --git a/games/xsoldier/patches/patch-game_c b/games/xsoldier/patches/patch-game_c new file mode 100644 index 00000000000..237e310f4e9 --- /dev/null +++ b/games/xsoldier/patches/patch-game_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-game_c,v 1.1 2003/09/28 01:08:49 naddy Exp $ +--- game.c.orig 2003-09-28 02:59:52.000000000 +0200 ++++ game.c 2003-09-28 03:00:04.000000000 +0200 +@@ -8,6 +8,7 @@ + */ + + #include ++#include + #include + #include + #include diff --git a/games/xsoldier/patches/patch-main_c b/games/xsoldier/patches/patch-main_c index 8e645dbbbc9..840ba3436f4 100644 --- a/games/xsoldier/patches/patch-main_c +++ b/games/xsoldier/patches/patch-main_c @@ -1,6 +1,15 @@ -$OpenBSD: patch-main_c,v 1.2 2002/09/16 08:18:11 pvalchev Exp $ ---- main.c.orig Fri Feb 28 08:50:07 1997 -+++ main.c Mon Sep 16 01:57:49 2002 +$OpenBSD: patch-main_c,v 1.3 2003/09/28 01:08:49 naddy Exp $ +--- main.c.orig 1997-02-28 16:50:07.000000000 +0100 ++++ main.c 2003-09-28 03:04:58.000000000 +0200 +@@ -46,7 +46,7 @@ static void usage(void); + + static void init(void); + static void clean(void); +-static void sig_handle(void); ++static void sig_handle(int); + + /*** ふぁいるぐろーばる ***/ + static char command[32]; @@ -129,14 +129,14 @@ static void arginit(int argc, char *argv argv0++; else @@ -18,3 +27,12 @@ $OpenBSD: patch-main_c,v 1.2 2002/09/16 08:18:11 pvalchev Exp $ } else if ((strcmp(argv[i],"-wait")==0) || (strcmp(argv[i],"-w")==0)) { +@@ -354,7 +354,7 @@ static void clean(void) + #endif + } + +-static void sig_handle(void) ++static void sig_handle(int signo) + { + signal_delivered = 1; + } diff --git a/games/xsoldier/patches/patch-manage_c b/games/xsoldier/patches/patch-manage_c index 35b3c4db950..aa698961bcd 100644 --- a/games/xsoldier/patches/patch-manage_c +++ b/games/xsoldier/patches/patch-manage_c @@ -1,3 +1,4 @@ +$OpenBSD: patch-manage_c,v 1.2 2003/09/28 01:08:49 naddy Exp $ --- manage.c.orig Mon Jun 9 19:41:29 1997 +++ manage.c Mon Jun 9 19:41:41 1997 @@ -9,7 +9,6 @@ diff --git a/games/xsoldier/patches/patch-opening_c b/games/xsoldier/patches/patch-opening_c new file mode 100644 index 00000000000..61ee839da19 --- /dev/null +++ b/games/xsoldier/patches/patch-opening_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-opening_c,v 1.1 2003/09/28 01:08:49 naddy Exp $ +--- opening.c.orig 2003-09-28 03:00:32.000000000 +0200 ++++ opening.c 2003-09-28 03:00:43.000000000 +0200 +@@ -8,6 +8,7 @@ + */ + + #include ++#include + #include + #include + #include