Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 2021 02:53:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260154] [PATCH] irc/znc: fix build using LibreSSL 3.4.2
Message-ID:  <bug-260154-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260154

            Bug ID: 260154
           Summary: [PATCH] irc/znc: fix build using LibreSSL 3.4.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dbaio@freebsd.org
          Reporter: wcarson.bugzilla@disillusion.net
          Assignee: dbaio@freebsd.org
             Flags: maintainer-feedback?(dbaio@freebsd.org)

Created attachment 229826
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229826&action=
=3Dedit
Fix build with libressl

irc/znc 1.8.2 fails to build against LibreSSL 3.4.2, which was resolved
upstream in commit dcb5f3df82fcfec48aab356252067dc897fb98cf:

https://github.com/znc/znc/commit/dcb5f3df82fcfec48aab356252067dc897fb98cf

They did not roll a new version, though, so I integrated the patches to get=
 it
building again.

Error:

--- modules/CMakeFiles/module_schat.dir/all ---
/wrkdirs/usr/ports/irc/znc/work/znc-1.8.2/modules/schat.cpp:227:40: error:
member access into incomplete type 'SSL_SESSION' (aka 'ssl_session_st')
                            pSession ? SSL_SESSION_get0_cipher(pSession)
                                       ^
/wrkdirs/usr/ports/irc/znc/work/znc-1.8.2/modules/schat.cpp:33:55: note:
expanded from macro 'SSL_SESSION_get0_cipher'
# define SSL_SESSION_get0_cipher(pSession) ((pSession)->cipher)
                                                      ^
/usr/local/include/openssl/ssl.h:365:16: note: forward declaration of
'ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
/wrkdirs/usr/ports/irc/znc/work/znc-1.8.2/modules/schat.cpp:291:40: error:
member access into incomplete type 'SSL_SESSION' (aka 'ssl_session_st')
                            pSession ? SSL_SESSION_get0_cipher(pSession)
                                       ^
/wrkdirs/usr/ports/irc/znc/work/znc-1.8.2/modules/schat.cpp:33:55: note:
expanded from macro 'SSL_SESSION_get0_cipher'
# define SSL_SESSION_get0_cipher(pSession) ((pSession)->cipher)
                                                      ^
/usr/local/include/openssl/ssl.h:365:16: note: forward declaration of
'ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^

https://github.com/znc/znc/commit/dcb5f3df82fcfec48aab356252067dc897fb98cf

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



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