RE: Please review wip/pnmcurve and wip/flimp

"Larson, Timothy E." <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <CB5348B152BEC84F9FE88EA7DBB2CD6505AA4333@OMAEXMB02.corp.westworlds.com>
On Friday, November 14, 2008 9:03 AM, Johannes Hofmann
<mailto:[email protected]> scribbled:
> On Thu, Nov 13, 2008 at 12:05:36PM -0600, Larson, Timothy E. wrote:
>> It (pnmcurve) fails to build on Solaris10/sparc - undefined symbol
>> strsep in pnmcurve.o during linkage.
> 
> Thanks for testing. Google found this:
> http://blogs.sun.com/vlad/entry/strsep_in_libc
> It's pretty recent, so I consider switching to strtok() for
> portability. It's ugly though. 

Yes, strtok() is ANSI C, so it should be more portable.  An alternative is
to simply mark the package as NOT_FOR_PLATFORM the systems that don't have
strsep.

Tim
-- 
Tim Larson        AMT2 Unix Systems Administrator
    InterCall, a division of West Corporation

               Eschew obfuscation!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
pkgsrc-wip-review mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
smime.p7s (application/x-pkcs7-signature, 9.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.