From nobody Fri Mar 15 18:35:12 2024 X-Original-To: dev-commits-ports-main@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 4TxCbh3Njxz5Dv2x; Fri, 15 Mar 2024 18:35:12 +0000 (UTC) (envelope-from git@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 4TxCbh2sbJz3wmy; Fri, 15 Mar 2024 18:35:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710527712; 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=EDgew0ApX9lSIq1CkToRnm+mT/IyZA+Pg49czm5y/gI=; b=oqTXjJxwDdCXdZWNtsa1PpQGTZ0NvBZpgQS4a1jdGbrew+DYb0XKnZ7DWwm82WfddjCRE9 dT75+dkb0WqvgxpvFx1LiZFZFt/QDmQ0u1MMZf6SBJme2CPOfMPIvDuUCmY5tu9eDZTSxD Mcov3Z4l7My8GNRqg2TmpUQWbgm8zxFZqBXtGLfiR8SYdr951MVYUnQSKVBxAaVWydXvHt dbrzfs5527x3DY3HAYLTFVIM11eOeNx9lYtyJdVlJ7uJw7obJ8BwAG2wsgLyy9WbL07bzm lvqSJVtlcSwG2STWzJ++WciaaoGfjUrumvtx6zeNkpDB10YlPrZ8b66ytn0IzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710527712; a=rsa-sha256; cv=none; b=j7KdX+IAaEfwRCSY4AU5n/6xK168+4PcEgzjwi9FSO1GqOfW7UcCE6oK//LtE8I1YaCxVt ZIewV7P12wt43Yvm8/yVkdUF0wdga9F5p+inIpGEuDxLoqrb0C5cTF8Ri2eS+n9u8bxdXv bCtp56lcMeDdZyZG2AkAmkiDUisqRfsv4/d7CiLF3RcLc8RTnWrokBOnZOPi4sj411JG6C zxe+I+iW+pOMAaj4EfESrhGFqszqJ3ziA0s3yXfJLXFtJGT4sD50F5mBQuE77UNhX+MNdC yWy9s9nwcONU6fN+cIWdVqtJyzOEM8ZOx8xZQim9ngLwC8QETchzTOwwPDftTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710527712; 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=EDgew0ApX9lSIq1CkToRnm+mT/IyZA+Pg49czm5y/gI=; b=dS0NxXMHKPucv/0RZOxGQ4r4LesduLQGlILfnpJ/htUzg/nQOicg7DOgSQFZymOfgU2cnU umK23EpAX2nZyKo7Zo+Yeskaz5/tKh3uhI1HymQCIw6t4R71d+i+mT73VE3qNQBwz3KhDh VtjoYbouR1MqhFIZtTZfxYTst6kYjzdnR0/iKD+RoTlrOTmj/R+Jmfu1RuAKxhmvjfdSPL iRwzIt1ASlusNr/aW1Kn51WgHVZPqS33gD/sTPV8eiwV3zh25xvQ+mRFN4YYxbcB1YEXd5 beJ6VfxBtwXf/46aufMYI+rl/4jLUWfWgdtNfeIxhN2VuYzJMjRYqnmTChVuJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4TxCbh2THfzMf1; Fri, 15 Mar 2024 18:35:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42FIZCGY067332; Fri, 15 Mar 2024 18:35:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42FIZCPJ067329; Fri, 15 Mar 2024 18:35:12 GMT (envelope-from git) Date: Fri, 15 Mar 2024 18:35:12 GMT Message-Id: <202403151835.42FIZCPJ067329@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 87d80d5ee36f - main - www/elinks: Fix build with libressl List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87d80d5ee36f4780d6cf5bce4147f3df891f7b09 Auto-Submitted: auto-generated The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=87d80d5ee36f4780d6cf5bce4147f3df891f7b09 commit 87d80d5ee36f4780d6cf5bce4147f3df891f7b09 Author: Felix Palmen AuthorDate: 2024-03-15 07:10:11 +0000 Commit: Felix Palmen CommitDate: 2024-03-15 18:35:03 +0000 www/elinks: Fix build with libressl PR: 277720 Approved by: jailbird@fdf.net (maintainer) --- www/elinks/files/patch-src_network_ssl_ssl.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/www/elinks/files/patch-src_network_ssl_ssl.c b/www/elinks/files/patch-src_network_ssl_ssl.c new file mode 100644 index 000000000000..88ef5625a3ac --- /dev/null +++ b/www/elinks/files/patch-src_network_ssl_ssl.c @@ -0,0 +1,18 @@ +--- src/network/ssl/ssl.c.orig 2024-03-15 07:07:07 UTC ++++ src/network/ssl/ssl.c +@@ -61,9 +61,15 @@ int socket_SSL_ex_data_idx = -1; + /** Prevent SSL_dup() if the SSL is associated with struct socket. + * We cannot copy struct socket and it doesn't have a reference count + * either. */ ++#ifdef LIBRESSL_VERSION_NUMBER + static int ++socket_SSL_ex_data_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, ++ WSK from_d, int idx, long argl, void *argp) ++#else ++static int + socket_SSL_ex_data_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, + WSK from_d, int idx, long argl, void *argp) ++#endif + { + /* The documentation of from_d in RSA_get_ex_new_index(3) + * is a bit unclear. The caller does something like: