From nobody Wed Dec 01 02:53:48 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B86218BD663 for ; Wed, 1 Dec 2021 02:53:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3kDr52z2z4s7s for ; Wed, 1 Dec 2021 02:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7AF0322011 for ; Wed, 1 Dec 2021 02:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B12rmcd059371 for ; Wed, 1 Dec 2021 02:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B12rmrI059370 for ports-bugs@FreeBSD.org; Wed, 1 Dec 2021 02:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260154] [PATCH] irc/znc: fix build using LibreSSL 3.4.2 Date: Wed, 01 Dec 2021 02:53:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wcarson.bugzilla@disillusion.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dbaio@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638327229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X1XWWlK5fbc6CtTi59Qi5D+9qVZ5oSCmVe8477yuzlw=; b=RPU3Qdr7pQ5OXQ0aeyxx6RfvCF9uWJQW58VYDSQdqwPXof98ChTH4EORs+Bjl73j4oOpw/ Rn5RVWEr8VUZgGtfwHM0rPW8Eiy1iK316rdMPkd5aDGPkYVJ/RyM8avwqlPB+oOUp5p0ms 56xVO73Spe8PbPhpuCc5+DIr3MWQPV1xseoli+RSHtUTb4u3YemFUG7CY9FaeBKy5H6NYH q8/wdR4qcH0dgclYDHDrEkXW89FWLqvZr4USYfmUjeaNwmgNuEnUQwt/QUv3Vf26neB72v lPsLn2dD1BDeUbPu+4QuS+iQngbFgJHm3uqvfm4gSt4eKIMsW4viPFaY5qGsUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638327229; a=rsa-sha256; cv=none; b=mibrA4HrTzDzT+vW9MACscRbXUh6mQmASroWtKnc2NdQbBzjdFLh2feqeErm7D3kEzGX/5 ri7ZwZ1J9wzsBSUUeZ2PHHXR5QjnHCptfwPG7daf10YBMJvRszeBavkGsbiCAcLwzvjZYS ioVjW0FQK+VZ0D/XkO+AArdx7MLlJmSONyBtl2jAQ7VvhLT2U18zmQnFiD34YW6xvAMsxz /3v9wEcXwG8AvDX59TkQfsUDLCxp1p75zHPhXn3slRjuFP4Fq4vcQWfbOsz7jFbsHvjETu +WCFbyyGHskOHHB9oqYXQ+BazSqnzRoJ5iqZmh4xs4RomT714LqjmS+KLveqdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=