diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2013-10-12 04:16:59 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2013-10-12 04:16:59 +0000 |
commit | 90e197811bfa56a8f53ca92015bf750acc87e759 (patch) | |
tree | 6b88cf61cfa2737343aed35d8bbca0c22e1b04ad /games/xrobots/files/patch-main.c | |
parent | - Mark BROKEN, set DEPRECATED at maintainer's request (diff) |
Build on 10.0
Notes
Notes:
svn path=/head/; revision=330118
Diffstat (limited to 'games/xrobots/files/patch-main.c')
-rw-r--r-- | games/xrobots/files/patch-main.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/games/xrobots/files/patch-main.c b/games/xrobots/files/patch-main.c index b42b233b62d9..9a49ee5710b5 100644 --- a/games/xrobots/files/patch-main.c +++ b/games/xrobots/files/patch-main.c @@ -1,6 +1,6 @@ ---- main.c.orig Thu Jan 22 06:34:05 1998 -+++ main.c Sat Feb 28 03:53:04 2004 -@@ -170,25 +170,25 @@ +--- main.c.orig 1998-01-23 01:34:05.000000000 +1100 ++++ main.c 2013-10-13 01:30:59.000000000 +1100 +@@ -170,31 +170,31 @@ {"-scorefile","scorefile",XrmoptionSepArg, NULL }, }; @@ -36,11 +36,17 @@ }; /*----------------------------------------------------------------------*/ -@@ -205,6 +205,16 @@ - new_game_command; + + main(argc, argv) +- unsigned int argc; ++ int argc; + char **argv; + { + Arg args[1]; +@@ -206,6 +206,16 @@ srandom(getpid()); -+ + + application_resources[0].resource_offset=(Cardinal)&fg; + application_resources[1].resource_offset=(Cardinal)&bg; + application_resources[2].resource_offset=(Cardinal)&spiffy; @@ -50,6 +56,7 @@ + application_resources[6].resource_offset=(Cardinal)&diewaiting; + application_resources[7].resource_offset=(Cardinal)&translations; + application_resources[8].resource_offset=(Cardinal)&score_filename; - ++ top_shell = XtInitialize(argv[0], "xrobots", options, XtNumber(options), (int *)&argc, argv); + XtSetValues(top_shell, arglisttop_shell, XtNumber(arglisttop_shell)); |