Bug#719578: Patch for a cdk-perl-20130717 build failure with Perl 5.18

Niko Tyni ntyni at debian.org
Thu Aug 15 19:23:54 UTC 2013


Hi Thomas,

recent changes in cdk-perl-20130717 broke the build again with
newer versions of ExtUtils::ParseXS, including the one
bundled with Perl 5.18.

  Cdk.c: In function 'XS_Cdk__Entry_New':
  Cdk.c:5576:2: error: too few arguments to function 'sv2dtype'
    int int_disptype = sv2dtype (/* not a parameter */);
    ^
  Cdk.xs:666:1: note: declared here
   sv2dtype(SV * sv)
   ^
  Cdk.c: In function 'XS_Cdk__Mentry_New':
  Cdk.c:6497:2: error: too few arguments to function 'sv2dtype'
    int int_disptype = sv2dtype (/* not a parameter */);
    ^
  Cdk.xs:666:1: note: declared here
   sv2dtype(SV * sv)
   ^
  make[1]: *** [Cdk.o] Error 1

I'm attaching a proposed patch for this. For reference,
this is http://bugs.debian.org/719578.

Thanks for your work on CDK,
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-XS-syntax-enforced-by-newer-versions-of-ExtUtils.patch
Type: text/x-diff
Size: 2090 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130815/7674a711/attachment.patch>


More information about the pkg-perl-maintainers mailing list