MakeMaker / security/p5-Crypt-Anubis

Volker Stolz vs at freebsd.org
Sat May 15 09:50:39 PDT 2004


Hi, a quick question to the perl-hackers:

http://pointyhat.freebsd.org/errorlogs/i386-4-latest/p5-Crypt-Anubis-1.0.4.log

I thought
-.if ${OSVERSION} < 500000
-BROKEN=                "Does not compile"
+.if ${PERL_LEVEL} < 500600
+post-patch:
+       @${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' ${WRKSRC}/Anubis.pm
 .endif

would DTRT, but I get:

In file included from Anubis.xs:5:
_anubis.c:980: conflicting types for `main'
/usr/libdata/perl/5.00503/mach/CORE/proto.h:267: previous declaration of `main'
Anubis.xs: In function `XS_Crypt__Anubis_new':
Anubis.xs:43: warning: passing arg 1 of `NESSIEkeysetup' makes pointer from integer without a cast
Anubis.xs: In function `XS_Crypt__Anubis_encrypt':
Anubis.xs:61: warning: passing arg 3 of `NESSIEencrypt' makes pointer from integer without a cast
Anubis.xs: In function `XS_Crypt__Anubis_decrypt':
Anubis.xs:80: warning: passing arg 3 of `NESSIEdecrypt' makes pointer from integer without a cast
*** Error code 1

Stop in /usr/ports/security/p5-Crypt-Anubis/work/Crypt-Anubis-1.0.4.
*** Error code 1

Stop in /usr/ports/security/p5-Crypt-Anubis.

The port builds fine with perl5.6. Is there something else wrong
or should I simply raise the bar to 5.6? I couldn't find any decent
requirements on CPAN either.

Cheers,
  Volker (please cc: replies)
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Neu! Ändern Sie den Anfangstag Ihrer Woche


More information about the freebsd-perl mailing list