Subject: pkg/36888: lang/smalltalk fails to build (fix)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <asau@asau.local>
List: pkgsrc-bugs
Date: 09/02/2007 22:30:00
>Number:         36888
>Category:       pkg
>Synopsis:       lang/smalltalk fails to build (fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 02 22:30:00 +0000 2007
>Originator:     asau@hotbox.ru
>Release:        NetBSD 4.99.30
>Organization:
>Environment:
System: NetBSD asau.local 4.99.30 NetBSD 4.99.30 (KERN) #1: Sun Sep 2 12:31:55 MSD 2007 bsd@asau.local:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
	lang/smalltalk fails to build in on current NetBSD
>How-To-Repeat:
	cd lang/smalltalk && make
>Fix:
	Introduce patch:

--- lib-src/sincosl.c.orig	2007-09-03 00:06:39.000000000 +0400
+++ lib-src/sincosl.c	2007-09-03 00:07:20.000000000 +0400
@@ -228,7 +228,7 @@
    Computed using gmp.
  */
 
-const long double sincosl_table[] = {
+static const long double sincosl_table[] = {
 
 /* x =  1.48437500000000000000000000000000000e-01L 3ffc3000000000000000000000000000 */
 /* cos(x) = 0.fd2f5320e1b790209b4dda2f98f79caaa7b873aff1014b0fbc5243766d03cb006bc837c4358 */