Subject: pkg/7970: craft-3.5 does not compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 07/12/1999 18:07:10
>Number:         7970
>Category:       pkg
>Synopsis:       craft-3.5 does not compile
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 12 11:35:00 1999
>Last-Modified:
>Originator:     Thilo Manske
>Organization:
>Release:        current as of friday
>Environment:
System: NetBSD Seti.HEH.Uni-Oldenburg.DE 1.4E NetBSD 1.4E (Seti) #7: Fri Jul 9 1
2:24:48 MEST 1999 thilo@Seti.HEH.Uni-Oldenburg.DE:/usr/src/sys/arch/i386/compile/
Seti i386
Everything ELF, no old gcc-2.7.2 headers anymore
>Description:
If you don't have historic (pre egcs) headers on your system
make in [...]/games/craft stops with:
===>  Building for craft-3.5
g++  -I/usr/X11R6/include -DCRAFT_DIR=\"/usr/X11R6/share/craft/\"  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  hcc/hcc.cc   -o hcc/hcc
hcc/hcc.cc:1: bool.h: No such file or directory
hcc/hcc.cc:3: std.h: No such file or directory
gmake: *** [hcc/hcc] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
>Fix:
Add this patch to the patches directory:
--- hcc/hcc.cc.old      Fri Feb 21 12:50:16 1997
+++ hcc/hcc.cc  Mon Jul 12 18:54:55 1999
@@ -1,6 +1,5 @@
-#include "bool.h"
 #include "stdio.h"
-#include "std.h"
+#include <stdlib.h>
 #include "string.h"
 #include "ctype.h"

>Audit-Trail:
>Unformatted: