Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2004 18:50:35 +0200
From:      Volker Stolz <vs@freebsd.org>
To:        freebsd-perl@freebsd.org
Subject:   MakeMaker / security/p5-Crypt-Anubis
Message-ID:  <20040515165035.GA82726@i2.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040515165035.GA82726>