tag 629255 fixed-upstream
thanks

On Sun, Jun 05, 2011 at 12:12:08AM +0100, Dominic Hargreaves wrote:
> Source: libdbd-sybase-perl
> Version: 1.00-3
> Severity: important
> User: [email protected]
> Usertags: perl-5.14-transition
> 
> This package fails to build with perl 5.14, currently in experimental:

> Sybase.xs:62:51: error: 'sv_yes' undeclared (first use in this function)

These sv_* symbols are compatibility macros for legacy names,
and their modern counterparts are prefixed with 'PL_'. Up to Perl
5.13.3, they were brought in by the PERL_POLLUTE definition in
/usr/lib/perl5/auto/DBI/DBIXS.h, but newer perls don't support this
anymore.

See http://www.gossamer-threads.com/lists/perl/porters/254012

It should be enough to do something like

 perl -pi -e 'for my $c (qw(yes no undef)) { s/\bsv_$c\b/PL_sv_$c/}' dbdimp.c 
Sybase.xs

and it's possible to test this with Perl 5.12 by removing the 
#define PERL_POLLUTE line from DBIXS.h.

It looks like this was fixed upstream in DBD-Sybase-1.11
("Remove reliance on PERL_POLLUTE") so tagging accordingly.
-- 
Niko Tyni   [email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to