Subject: pkg/37047: [fix] lang/snobol doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Aleksej Saushev <asau@inbox.ru>
List: pkgsrc-bugs
Date: 10/01/2007 08:15:01
>Number:         37047
>Category:       pkg
>Synopsis:       [fix] lang/snobol doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 01 08:15:01 +0000 2007
>Originator:     Aleksej Saushev <asau@inbox.ru>
>Release:        NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD asau.local 4.99.31 NetBSD 4.99.31 (KERN) #0: Mon Oct 1 03:33:06 MSD 2007 asau@asau.local:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
	lang/snobol doesn't build as shown by recent bulk builds
>How-To-Repeat:
	cd lang/snobol; make
>Fix:
	Define MAKE_JOBS_SAFE=no and introduce patches:

--- lib/bsd/inet.c.orig	2007-10-01 12:01:16.000000000 +0400
+++ lib/bsd/inet.c	2007-10-01 12:02:12.000000000 +0400
@@ -10,6 +10,7 @@
 #include <netinet/in.h>
 
 #include "h.h"				/* TRUE/FALSE */
+#include "snotypes.h"
 #include "macros.h"			/* bcopy */
 
 #ifndef INADDR_NONE
--- lib/bsd/dynamic.c.orig	2007-10-01 11:59:54.000000000 +0400
+++ lib/bsd/dynamic.c	2007-10-01 12:00:26.000000000 +0400
@@ -2,6 +2,7 @@
 
 /* allocate dynamic region on BSD */
 
+#include <sys/cdefs.h>
 #include <sys/vadvise.h>
 
 char *malloc();