ports/63105: bento-fix: games/gnomeattacks
Hendrik Scholz
hendrik at scholz.net
Fri Feb 20 03:40:17 UTC 2004
>Number: 63105
>Category: ports
>Synopsis: bento-fix: games/gnomeattacks
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 19 19:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root at ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Fix gnomeattacks as found by bento on
http://bento.freebsd.org/errorlogs/amd64-5-full/gnomeattacks-0.3.log
(valid for all platforms)
Changes:
- add levelset_get_file_name() prototype to game.c
- remove va_list = NULL assignment (not shown in man stdarg(3) example
so this should be save :)
- add attached patch to files/
CC'ed to Andy (author)
>How-To-Repeat:
>Fix:
--- patch-src:game.c begins here ---
--- src/game.c.orig Thu Feb 19 22:33:32 2004
+++ src/game.c Thu Feb 19 22:33:44 2004
@@ -15,6 +15,7 @@
#include "graphics.h"
#include "hiscore.h"
+GString* levelset_get_file_name( gchar* file_name );
/**
* Set up a random seed and set the levels to the first ones.
@@ -271,8 +272,6 @@
va_list varptr;
gchar msg[255];
-
- varptr = NULL;
va_start( varptr, format );
--- patch-src:game.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list