From nobody Sun Aug 07 14:20:46 2022 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 4M11hZ742Bz4Y3Wc; Sun, 7 Aug 2022 14:20:46 +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 4M11hZ6SJKz3Y86; Sun, 7 Aug 2022 14:20:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659882046; 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=nIBgH+TX73nL8bII2YpnKCPT/z3BahGSOpCb1tGh0hI=; b=tTNXxAzqBndm/wxmURYagJveW40LiPXDRJ+KUzkAkAZXuARRIBQM/YW3Ew7X7hxhnAGpCs Gs4ev7a3r2LWfpSsefNUD+ez9KKUgxSncBUcCmMCM10MlejnhNnKFVhXAkBSQ3eruZBgjC RR1zNjOYfeIYxkPF3Vc1CGYhpSEljlJXZx+WfaLYPZpEc/VeEfmMJ9POlyBiibII4i5Jgk jArGT+4BsMSRb97ZipBe76T/eIYfccmlzPnFxzdUpy7+sq1wiFNutKNovgnGOnTpcX1xD+ 83P+/VWstaBMgspejUcbZedWApllymoFek6hpy5jfKSPhyHbAKK8q+qw8DXBYQ== 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 4M11hZ5WMgzFx1; Sun, 7 Aug 2022 14:20:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 277EKkCd055534; Sun, 7 Aug 2022 14:20:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 277EKk7r055533; Sun, 7 Aug 2022 14:20:46 GMT (envelope-from git) Date: Sun, 7 Aug 2022 14:20:46 GMT Message-Id: <202208071420.277EKk7r055533@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernard Spil Subject: git: 56ddef0a5f41 - main - devel/libevent: Fix build with LibreSSL 3.5 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: brnrd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56ddef0a5f41a11fbbafd3507b9b1cfdf98780be Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659882046; 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=nIBgH+TX73nL8bII2YpnKCPT/z3BahGSOpCb1tGh0hI=; b=tGFlbZOZhSB0RmA0aoyf5Xh51mU6TuxyCCpB3hw+vn36uLj4l6sWRvw/G1t4K/Pq7ja3SN 8qF+OaRwowibOoKBPeikkig/WWuQfzAqdg4pZxIRemR0Wehj40k4csVLaWplGEmsQhJVE4 qMSV6o8FZtuqu5IEOE9uxShaRNgm6TlnyPYiSun0EjPfiB6eKNlPG0xoAerAgiWOaBPFuH obi1OdEZhqqKkutduXz/UA1TsU2TOrArwL+z1VWdmZxVIdTyGgyD80ZEbNSpBf56wUbZfj +UMpqUZnuZfdTFwSBzK+odJfigG5TcJrXzbRoEJvzSG71m3R64TYtNgJ+UrfoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659882046; a=rsa-sha256; cv=none; b=ugyzJ433ID9UUnGwEh8U4PsreZK8eqGRpWqRm8MnK6WOO2OMzyd83noh97AHdncQKqx/Ty FkdOWaKUDvDqKJXLqmgRJ5UqUqVQPMLcMvJr6vBjhxK2SdBF5M2ORZGJENGMGBvRH4w6lF cwitqpCOpSot675TdGPT2z2YNdfG8T9/NTg2r//gxuRIRjP/nIgWGT/SrQJ0FXdE9lYlbN wj5RnY0ZaGzgtOz8u4fp9db60sZZUMGjPq8lCQkZP1ybJYtRAvC1Eq3Ss3yDIIPmjKmsGN Zt+mAHlEDA06WcUhwyavWd8a66YIQwze8BdqswuKYzFJa7KwqYcdbXcohK50XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=56ddef0a5f41a11fbbafd3507b9b1cfdf98780be commit 56ddef0a5f41a11fbbafd3507b9b1cfdf98780be Author: Bernard Spil AuthorDate: 2022-08-07 14:19:59 +0000 Commit: Bernard Spil CommitDate: 2022-08-07 14:19:59 +0000 devel/libevent: Fix build with LibreSSL 3.5 Approved by: kbowling (maintainer) --- devel/libevent/files/patch-openssl-compat.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/devel/libevent/files/patch-openssl-compat.h b/devel/libevent/files/patch-openssl-compat.h new file mode 100644 index 000000000000..00fc85fde80e --- /dev/null +++ b/devel/libevent/files/patch-openssl-compat.h @@ -0,0 +1,16 @@ +We have BIO_get_init() now. +https://github.com/libevent/libevent/pull/1227 + +Index: openssl-compat.h +--- openssl-compat.h.orig ++++ openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && \ ++ LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif +