From nobody Thu Jul 6 08:25:42 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 4QxV3B6y5cz4mGhl; Thu, 6 Jul 2023 08:25:42 +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 4QxV3B6RLjz3HkK; Thu, 6 Jul 2023 08:25:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688631942; 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=1Go0GcjOCXKzFKyu1N2rlBDAFHCu9HYoo4DPgI6mWNw=; b=KnvY55Oz2Q00iKNXrs4PGH+HYv+lOtTUgtfAsKbtGDjIjNrum77TGy2Kwwal//XeYfqyoW bO/BvGzrZBfQWyL4gQI5mzsQUO7e7ICwnGRGKzi5YzwqV6qQXeF7fFysztSW2BvtpdWRuS RJ71zgL0wVf58C+2MHzk8lD9BkXd87qBrLGjPVCMhV3UT/k3+/BUlFVXY1n+vlX4u7k3jr FqclETwp/4q8WFpDnwDtxM57szkWO4J8fznpPTuE4d52gIY/a2srqHoLdH8gKoVYc1rsyX YQBiS+5En96XlC6QeBAFCaiPxAV0aiUwpoLNhvcha0gSsfnGWEmecTJJWJ4WtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688631942; 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=1Go0GcjOCXKzFKyu1N2rlBDAFHCu9HYoo4DPgI6mWNw=; b=uhqC5j5fAPN9qIGS4UyeaIryOe3Qo4j0V7tK7xWsSspfjWS5Sch2wBJ++04xA/GFoKnv9b dakU5gyC4Avzt16F1zVfzJi4All54Zbif+iJAFxoPR1/XsvzBv2UshOAef6MF/Yic41oC8 euAVO6iC6L59J9L4yf79uoDoLZT7et5xlK8yto1U4/+mpKBcc4f0rtqnKOAJrA9WvY5wYY bN99T7yUNyLM/rSoZuIO5PwASDwinZxKrLCMPZeEu5V451Eprpdl3jjzIoLi+GdI8Sq7Az Kkz5E3IBm4ySyvm3Kq7E4V2sDaUfW4X+hjmeqzLBVyOv59SSife1orIqWHxU4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688631942; a=rsa-sha256; cv=none; b=ZsznXfe70Xag4qjd5DQje+f4Nww2pQQkT7HgvWOtnuKvPXtuKuEXjActioOqfhwPyZ0NFw 6sadudWUpAm5UU4s+6HU89044KIZHgvtkx9htyW4t7JvdHZYFAVM4spelkmhuZm1ZLxB2p G8Z0VnzOvXnzT5kQNJZC1w83oQ2Q2dVq5nbcuQlAAAXNj/5D5pPxp4n62DkCPM9BHgPFWR TGwJtfvDBWQhRTSIbIifzqkuPn6cjZIDO4QqpFp6RgvZHpQO6JraWdG9JisiwZoxbGuww2 Q5ldrAuAMeOwqC4SPqWmozahKgcOyHTmQOxFWaExgsUo+uT2CWZx0FPjw+CJyw== 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 4QxV3B5TZdzpyC; Thu, 6 Jul 2023 08:25:42 +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 3668PgLQ088246; Thu, 6 Jul 2023 08:25:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3668Pg5T088245; Thu, 6 Jul 2023 08:25:42 GMT (envelope-from git) Date: Thu, 6 Jul 2023 08:25:42 GMT Message-Id: <202307060825.3668Pg5T088245@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: 23e2459a2e41 - main - mail/meta1: 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: 23e2459a2e4160a87e2524438a24453d0a2b88ac Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=23e2459a2e4160a87e2524438a24453d0a2b88ac commit 23e2459a2e4160a87e2524438a24453d0a2b88ac Author: Dirk Meyer AuthorDate: 2023-07-06 08:25:32 +0000 Commit: Dirk Meyer CommitDate: 2023-07-06 08:25:32 +0000 mail/meta1: fix build with clang16 --- mail/meta1/files/patch-include_sm_mapcnf.h | 11 +++++++++++ mail/meta1/files/patch-smtps_smtps.c | 15 +++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/mail/meta1/files/patch-include_sm_mapcnf.h b/mail/meta1/files/patch-include_sm_mapcnf.h new file mode 100644 index 000000000000..9846ccf7b584 --- /dev/null +++ b/mail/meta1/files/patch-include_sm_mapcnf.h @@ -0,0 +1,11 @@ +--- include/sm/mapcnf.h.orig 2020-12-27 19:02:05 UTC ++++ include/sm/mapcnf.h +@@ -50,7 +50,7 @@ typedef enum mapspec_kind_E mapspec_kind_T; + sm_map_P mst_##what##_map; \ + char *mst_##what##_name; \ + char *mst_##what##_type; \ +- sm_ret_T *mst_##what##_ret ++ sm_ret_T mst_##what##_ret + + #define SM_MAPSPEC_FL_IMPLDET 0x00000001u + diff --git a/mail/meta1/files/patch-smtps_smtps.c b/mail/meta1/files/patch-smtps_smtps.c new file mode 100644 index 000000000000..64ece87b7c16 --- /dev/null +++ b/mail/meta1/files/patch-smtps_smtps.c @@ -0,0 +1,15 @@ +--- smtps/smtps.c.orig 2022-09-24 16:59:28 UTC ++++ smtps/smtps.c +@@ -2168,9 +2168,11 @@ ss_proxy_policy(sasl_conn_t *conn, void *context, cons + return SASL_OK; + } + ++typedef int (*sasl_callback_ft)(void); ++ + static sasl_callback_t sm_sasl_srvcbs[] = + { +- { SASL_CB_PROXY_POLICY, &ss_proxy_policy, NULL }, ++ { SASL_CB_PROXY_POLICY, (sasl_callback_ft)&ss_proxy_policy, NULL }, + { SASL_CB_LIST_END, NULL, NULL } + }; + #endif