Subject: pkg/30577: audio/libvorbis w/ sunpro missing libsunmath for sincos()
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 06/23/2005 00:55:00
>Number:         30577
>Category:       pkg
>Synopsis:       audio/libvorbis w/ sunpro missing libsunmath for sincos()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 23 00:55:00 +0000 2005
>Originator:     grant beattie
>Release:        SunOS 5.9
>Organization:

>Environment:
System: SunOS u10 5.9 Generic_118558-04 sun4u sparc SUNW,Ultra-5_10
Architecture: sparc
Machine: sun4u
>Description:
libvorbis needs to be linked against libsunmath when built with sunpro
so it can resolve sincos().
>How-To-Repeat:
build libvorbis on Solaris w/ sunpro and try to link an executable
with it.
>Fix:
as libsunmath is provided by sunpro itself, it should be statically
linked so binaries are not dependent on libsunmath.so which doesn't
exist in Solaris base.

I'm submitting this as a PR so I don't forget about it :)