Subject: pkg/35319: [patch] lang/perl5 does not build on newer versions of Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter.schuller@infidyne.com>
List: pkgsrc-bugs
Date: 12/25/2006 14:30:00
>Number:         35319
>Category:       pkg
>Synopsis:       [patch] lang/perl5 does not build on newer versions of Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 25 14:30:00 +0000 2006
>Originator:     Peter Schuller
>Release:        Solaris Express Community Edition, build 64
>Organization:
>Environment:
SunOS hostname 5.11 snv_54 i86pc i386 i86pc
>Description:
Building lang/perl5 fails with:

perlio.c: In function `PerlIOStdio_invalidate_fileno':
perlio.c:2899: error: structure has no member named `_file'

This is discussed here:

http://groups.google.com/group/perl.perl5.porters/browse_frm/thread/2403952b6fca2945/f8a5000badf427f9?lnk=st&q=4433D99E.40800%40sun.com&rnum=2#f8a5000badf427f9

And the patch making itself into the upstream perl repo is here:

http://public.activestate.com/cgi-bin/perlbrowse/27722

This PR suggests patching the perl5 package to include that change.
>How-To-Repeat:

>Fix:
This patch causes the above referenced changes to be applied to the source tree before building:

http://distfiles.scode.org/pkgsrc/perlio-solaris.patch