[Bug 272553] security/p5-Net-SSLeay fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Dec 2023 08:26:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272553

--- Comment #20 from wcarson.bugzilla@disillusion.net ---
I can't seem to get p5-Net-SSLeay 1.92 to build on FreeBSD 14.0-RELEASE-p4,
LibreSSL 3.8.2, and latest ports tree.

I'm seeing this error:

SSLeay.c:4505:11: warning: call to undeclared function 'SSL_SESSION_dup'; ISO
C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
        RETVAL = SSL_SESSION_dup(sess);
                 ^
SSLeay.c:4505:9: error: incompatible integer to pointer conversion assigning to
'SSL_SESSION *' (aka 'struct ssl_session_st *') from 'int' [-Wint-conversion]
        RETVAL = SSL_SESSION_dup(sess);
               ^ ~~~~~~~~~~~~~~~~~~~~~
SSLeay.c:4507:2: warning: '(' and '{' tokens introducing statement expression
appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
        PUSHi(PTR2IV(RETVAL));
        ^~~~~~~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.