Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2001 13:56:13 +0930 (CST)
From:      mark@kyne.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26589: Maintainer update: games/greed: build fails on alpha
Message-ID:  <200104150426.f3F4QDR94022@aeris.kyne.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         26589
>Category:       ports
>Synopsis:       Maintainer update: games/greed: build fails on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 14 21:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark Pulford
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
none
>Environment:

Alpha FreeBSD

>Description:

Build fails on alpha:
http://beta.freebsd.org/errorlogs/4-full/greed-game-3.3.log

I don't have an alpha to test, but I believe the attached diff should
fix the problem.

Note: after applying the diff files/patch-greed.c needs to be cvs added.

>How-To-Repeat:

Attempt to build on alpha

>Fix:
diff -urN -x CVS /usr/ports/games/greed/files/patch-greed.c greed/files/patch-greed.c
--- /usr/ports/games/greed/files/patch-greed.c	Thu Jan  1 09:30:00 1970
+++ greed/files/patch-greed.c	Sun Apr 15 13:08:17 2001
@@ -0,0 +1,19 @@
+--- greed.c.orig	Sun Apr 15 12:59:50 2001
++++ greed.c	Sun Apr 15 13:07:52 2001
+@@ -53,6 +53,8 @@
+ #include <ctype.h>
+ #include <curses.h>
+ #include <signal.h>
++#include <stdlib.h>
++#include <string.h>
+ #ifndef MSDOS
+ #include <pwd.h>
+ #endif
+@@ -200,7 +202,6 @@
+ char *argv[];
+ {
+ 	register val = 1;
+-	extern long time();
+ 	int attribs[9];
+ #ifdef A_COLOR
+ 	char *colors;
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104150426.f3F4QDR94022>