From nobody Mon Jul 03 18:48:44 2023 X-Original-To: dev-commits-ports-all@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 4Qvw1S6Crwz4l4ZY; Mon, 3 Jul 2023 18:48:44 +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 4Qvw1S5jc3z3x7d; Mon, 3 Jul 2023 18:48:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688410124; 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=vb4emFNKABhmbo4zdSdh5GiuZSeJp3r3mgZqYNXi5LA=; b=UXxc5o+7NCKsNYFjLosr/vxVJrbaPQsXukURhbeL0CFcqbn3tvLZqBS8hWkVP3R7A70C4z j6niJTRo3du09O3xPG2FI0FuxwH7F8rHC5zkhiRRBE76T0WhQ7yPVeh5vVlM3oq/c6VzXo RMtJvtbVWDbEAV4WszbCvoz4WYVrPzC3pIwWhkXniULxJC9TKSmF4SwjlurrsRca0Zru4b 1gMXWs3tVGsBd1QEesZnISFPbYQKsPOCtDIb6phVLDYDUr49+NgrQWwwm6TQ6hiMhm5h6p CW5A5f7sVa8hXCXaehzuamZzop/dSnGyVGsG82a2n//uNlGVb/WuslYvyvlhdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688410124; 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=vb4emFNKABhmbo4zdSdh5GiuZSeJp3r3mgZqYNXi5LA=; b=HpGnLxbya00cV4Om2EevX5Fplrj21dlFgPGbqf17SxDshcEKDq8fG7tRsLtvpBWnorg2rb VXN7VDudFcF+w9Cde62lEDeBhGbtnTGWGn+6BAyYhffB5YAG1QYzbKL7tpb1H/awcah0hb /x7U36Fh/zdY/bspmuOT/1wzg4IcoQohedqnooi6wAqyzUlgc92B0i2R7T1nHf9Ik75eKw bhtkREuyl5RKGmdO0abU4GLad9chcgZ5Zt9zabZV5n7VbBgJZQVrEmrgtR0yGiP8XyBQVu QXt39ctk1EAjG44TsrfqygQm8+FTH2HozqWuolh25mBgZjUMXua78E6Raaus2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688410124; a=rsa-sha256; cv=none; b=v/kaCGheQbilqebH/tDaP1fQgIbnkg2lzGom7bwgGSXJMk7/ZfZEeq2HTWUy6pIefu73q0 wFJVsHiAqzZMxFUSwtYGH5X5mjQSaiC6bpQ9ufcZgOfEWkebVZaWBTbzAc/K7058NLS74N y24GsE3iPqd3X46qX0JF94PWvC+8Nnx29tydQrCP0pLfwRQApSddIX5Yi7pmKjTD/iqrN2 EvOA6vrx4wMMua27odwisgDfHXPSAAjklN8XqNqlPti/+EzAtcbPY206ECVRrAohKITyDV 6SC5y/RYjnd2q5r9I1u34jhavesdEAZhrtEtyZGu0+1Rqcwy6ETFiAY70++PNw== 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 4Qvw1S4cH6z112s; Mon, 3 Jul 2023 18:48:44 +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 363ImiN6066072; Mon, 3 Jul 2023 18:48:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 363ImikW066071; Mon, 3 Jul 2023 18:48:44 GMT (envelope-from git) Date: Mon, 3 Jul 2023 18:48:44 GMT Message-Id: <202307031848.363ImikW066071@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: a52a3ab7cc56 - main - net/tinyldap: fix build with clang16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a52a3ab7cc56ef8a6c69adf149349a986332f41b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=a52a3ab7cc56ef8a6c69adf149349a986332f41b commit a52a3ab7cc56ef8a6c69adf149349a986332f41b Author: Dirk Meyer AuthorDate: 2023-07-03 18:48:22 +0000 Commit: Dirk Meyer CommitDate: 2023-07-03 18:48:22 +0000 net/tinyldap: fix build with clang16 --- net/tinyldap/files/patch-fmt_tls_clienthello.c | 10 ++++++++++ net/tinyldap/files/patch-init_tls_context.c | 10 ++++++++++ net/tinyldap/files/patch-ldap_match_mapped.c | 11 +++++++++++ 3 files changed, 31 insertions(+) diff --git a/net/tinyldap/files/patch-fmt_tls_clienthello.c b/net/tinyldap/files/patch-fmt_tls_clienthello.c new file mode 100644 index 000000000000..2fc4a44aad18 --- /dev/null +++ b/net/tinyldap/files/patch-fmt_tls_clienthello.c @@ -0,0 +1,10 @@ +--- fmt_tls_clienthello.c.orig 2015-05-07 23:53:05 UTC ++++ fmt_tls_clienthello.c +@@ -2,6 +2,7 @@ + #include "uint16.h" + #include "uint32.h" + #include ++#include + + size_t fmt_tls_clienthello(char* dest, struct ssl_context* sc) { + size_t hnextlen=sc->servername?strlen(sc->servername)+9:0; diff --git a/net/tinyldap/files/patch-init_tls_context.c b/net/tinyldap/files/patch-init_tls_context.c new file mode 100644 index 000000000000..1a44ab0f40fb --- /dev/null +++ b/net/tinyldap/files/patch-init_tls_context.c @@ -0,0 +1,10 @@ +--- init_tls_context.c.orig 2015-05-07 23:53:06 UTC ++++ init_tls_context.c +@@ -1,6 +1,7 @@ + #include "tinytls.h" + #include "open.h" + #include ++#include + + void init_tls_context_norandom(struct ssl_context* sc, const char* servername) { + memset(sc,0,sizeof *sc); diff --git a/net/tinyldap/files/patch-ldap_match_mapped.c b/net/tinyldap/files/patch-ldap_match_mapped.c new file mode 100644 index 000000000000..7dc1550063e9 --- /dev/null +++ b/net/tinyldap/files/patch-ldap_match_mapped.c @@ -0,0 +1,11 @@ +--- ldap_match_mapped.c.orig 2017-03-19 11:47:19 UTC ++++ ldap_match_mapped.c +@@ -14,7 +14,7 @@ extern uint32 magic,attribute_count,record_count,indic + extern uint32 dn_ofs,objectClass_ofs; + + int substringmatch(struct Substring* x,const char* attr,int ignorecase) { +- int (*diff)(const void* a, unsigned long len, const void* b); ++ int (*diff)(const void* a, size_t len, const void* b); + if (ignorecase) + diff=case_diffb; + else