From nobody Tue Aug 08 09:55:23 2023 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 4RKpTS06NQz4m5x2; Tue, 8 Aug 2023 09:55:24 +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 4RKpTR45h4z4T4P; Tue, 8 Aug 2023 09:55:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691488523; 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=p/pfJri6dVLiV8QDa+r6UfH08gD0i7Y6z3d8L31Pybc=; b=kLQUUtH3JNk5H5xW3JE5wLYTzSRCwOb0gf7bvGv/79TMq2IX+EpMFWkjGJGXWNgFDvjqud PaKLUuqH2wKTpWe7BxmIViu3f4FaNLYysJ8pQlR0ZezwedeZ3ZxNCYCsZnM/aWVnmoJa9Q Awx5WqDJVG7he0hoFvEMDB9/VkeseQBWtOnab005AuQ6TtdCN7Wcmv6sLcaqAaOOeqa0/0 rWWigdjKd3T2F1+bs9qu/Evu7JousPXGvtW7XKSameQOotSjy9i5O0NtDMBoYKDgtTmQEu peOoq4SvrCYuTnxDB9YFO7dY9QzAi9/rkZ2n7TKUAcioD0IJUBLZ84MV5Od2HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691488523; 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=p/pfJri6dVLiV8QDa+r6UfH08gD0i7Y6z3d8L31Pybc=; b=ISK+KnjM5DfVLWRGw4xxauToyfcXPYJxnJgAKpu7+XgBZSW+acaOQUwJnIxZZPa8Wj797n D0U19AYxZnps8yMzRyxWBLlnCyEHYjT1nU07dHyQIbktm0mMsgQrtcV79WsLfSjrIlIrKF Xn5Rw4X2XO3WkFmR1A8iy0m64as4r55O674G7Qv8kn2RbAhSpupAEOs+JJ9Iz9pwx6GQVS ziRgX0mUHJA3D+35jq0h92Sw17a+bXRP/O60/Fj/XrPWn7np7FUlNBsRCV7h3s0OyMVHXl d1Yu4j3JWmGDhblY5ifMeGUWh9i5kZUdY4R0n6WRwNdng57p9ul85lXXKfsbeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691488523; a=rsa-sha256; cv=none; b=Yf5j8pC4QYuYznFwPfPpdujMhy+lnWm/E95MHveP5Zhrcy17Y3m7oB6QNZ2LO2PmG9RcLR YRGiZPsK3QKxWr9RsmSYqOaVYf4A1/HaCFP5/aj7NfYcjr/bKQDjuq3g/5+LJEUNMY+qOe PS+c+uBWfeI96Fz6C/iSMFiiuYn6svzWF/ivLTmw4L03e49eFtZLJdpscXkDfwE6rYZfGC f/o/N9bG95jqcaMze/1dmvC4mnQPsDNY/BHSbsYw3YsDicf9jF9gfBxaDMgmaygKOiqVRK 2NyaHPLEfrLPAGUwNFsfPQ0EJvjTFCf4EutAS4R1ewB8toH+qGQCIzfdbOuzPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RKpTR38nJzTvM; Tue, 8 Aug 2023 09:55:23 +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 3789tNMV075232; Tue, 8 Aug 2023 09:55:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3789tNqm075231; Tue, 8 Aug 2023 09:55:23 GMT (envelope-from git) Date: Tue, 8 Aug 2023 09:55:23 GMT Message-Id: <202308080955.3789tNqm075231@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: a494fa741d57 - main - devel/libpdel: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a494fa741d57fdebce9868eed7726a82a000dc83 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a494fa741d57fdebce9868eed7726a82a000dc83 commit a494fa741d57fdebce9868eed7726a82a000dc83 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-08 07:54:26 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-08 09:55:13 +0000 devel/libpdel: Fix build with llvm16 This actually fixes the build of net/sl2tps. Although ERR_GET_FUNC has ben deprecated in OpenSSL3 but it still manages to build as it does not throw an error however the consumers faces build failures. Sponsored by: The FreeBSD Foundation --- devel/libpdel/Makefile | 1 + devel/libpdel/files/patch-io_ssl__fp.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/devel/libpdel/Makefile b/devel/libpdel/Makefile index 0501f2ab2515..f52b875424d5 100644 --- a/devel/libpdel/Makefile +++ b/devel/libpdel/Makefile @@ -1,5 +1,6 @@ PORTNAME= libpdel PORTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= devel net www MASTER_SITES= SF/libpdel/libpdel-combined/${PORTVERSION}/ diff --git a/devel/libpdel/files/patch-io_ssl__fp.c b/devel/libpdel/files/patch-io_ssl__fp.c new file mode 100644 index 000000000000..64dd7f5bcc60 --- /dev/null +++ b/devel/libpdel/files/patch-io_ssl__fp.c @@ -0,0 +1,18 @@ +--- io/ssl_fp.c.orig 2023-08-08 07:48:05 UTC ++++ io/ssl_fp.c +@@ -361,8 +361,10 @@ ssl_log(ssl_logger_t *logger, void *logarg) + strlcat(buf, t, sizeof(buf)); + strlcat(buf, ": ", sizeof(buf)); + } else { ++#if OPENSSL_VERSION_NUMBER < 0x30000000L + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), + "func=%u: ", ERR_GET_FUNC(e)); ++#endif + } + + /* Add reason */ +@@ -388,4 +390,3 @@ null_logger(void *arg, int sev, const char *fmt, ...) + { + return; + } +-