Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 19:02:30 +0300 (MSK)
From:      Dmitry Morozovsky <marck@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78540: [patch] games/einstein for RELENG_4 misses sys/time.h inclusion
Message-ID:  <200503071602.j27G2UEr014588@woozle.rinet.ru>
Resent-Message-ID: <200503071610.j27GA45r081663@freefall.freebsd.org>

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

>Number:         78540
>Category:       ports
>Synopsis:       [patch] games/einstein for RELENG_4 misses sys/time.h inclusion
>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:   Mon Mar 07 16:10:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 4-STABLE i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 4-STABLE 


>Description:

Under RELENG_4 there is missing header preventing einstein from compiling.


>How-To-Repeat:

cd /usr/ports/games/einstein
make

watch for error in random.cpp

>Fix:


Index: files/patch-random.cpp
===================================================================
RCS file: files/patch-random.cpp
diff -N files/patch-random.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-random.cpp	7 Mar 2005 16:00:23 -0000
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- random.cpp.orig
++++ random.cpp
+@@ -1,3 +1,5 @@
++#include "sys/time.h"
++
+ #include "random.h"
+ #include "utils.h"
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



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