From nobody Wed May 10 05:30:06 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 4QGNrt4xhqz4B5RG; Wed, 10 May 2023 05:30:06 +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 4QGNrt4RYjz4Cqy; Wed, 10 May 2023 05:30:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683696606; 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=1Yu0I1Bi2wxCNSoMXzDgbUwxht2ff8IzlzEHubHcLck=; b=DpSQjrQxUD+Lo0gttdbwinOZT35sg9mENvt5u1cChBpH5v3WOlAGPAs3/8H/2g6aN4T9xa 98W1UraOVv0EnpTso3XHPGdh6OGRJhKwJ5zn/BYsD3Na0tFz8Qw/3YkO9EpN58gwm4dII3 83emKCTV09a++CyAwg47x4zhfEhx2080kYmqI3DEyigOhFKoufl/LKpLOS4l0JZ7t/ZI6F ssnaBK+88NROkk1FbqZpoW5dmlvbk8M+NXEHZ6gZ/MJzFMxwGkO2wFTz7PqhSgwb4y645u xE2pDSD04vKAZUDTGu7pknVZ4e9FcByq68Bq28Zz68pHcaoDR9YeNclSyjp8oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683696606; 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=1Yu0I1Bi2wxCNSoMXzDgbUwxht2ff8IzlzEHubHcLck=; b=QnqIYfzoeHmZLGL9Hug9Xnm7AiWZMYypTtdmPE39xeLlxOpDhwE45ILORLCMynAoylk+Vj zVw5gCqh34pivNeGe+U/b3IE5AuApHKLnNAkVOjX/sxKHgBeJKfcoX/ef1dmzDWE3YSdiF SRV8hRpY/+edG+fFcyGqZqho0k8+UkaXAn6H/EgE3cE0FrrAAVOZn0XgGlB0oJlKR39dm6 1wwbUkMXxfRHUCaMoixd5HQ9hSjXHgjRw/hSjl0T8zTsCmkMVvJ/H8dk0nOPKSMo+6cKrA /dQvAkuuN42m6/HgYp7ie9+BSv2rXizjxr1ZizzIbOMcxAM0qSWztvVm6IUmfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683696606; a=rsa-sha256; cv=none; b=e2cFCDOjHC5HzVybfhme7VO72W4m4mTcAnu9cW3uOZAbsSM4GGKRE/1wSLk2Bqh7tD5JDI Yh/7dFJcoYjgsbo6j0nNWH+3U8U0vTk/Gm6tDu/occ4wY82yeNu/uoZk61wR4LQCAx32Jd UZMDL/33H8P3yuQbKd6phdf1b32xRv88toCDVhDqtJ66RRYrnxCM3/12T9r6QLnCulCTSh /i64XbByotXgf+KoFexiPpnAWotdd9tOM1JyMtIRHOGtNsdoMiWFFitB+RTLoyVWdpnsal /9QBUAwJn74ppE5JFpWMTYuNM+QyGtLvYgGz6KDL5QByAhGUNanPA6ei6rzFVA== 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 4QGNrt3Xmyzy6K; Wed, 10 May 2023 05:30:06 +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 34A5U6rH001786; Wed, 10 May 2023 05:30:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34A5U6HN001783; Wed, 10 May 2023 05:30:06 GMT (envelope-from git) Date: Wed, 10 May 2023 05:30:06 GMT Message-Id: <202305100530.34A5U6HN001783@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 515552b2d266 - main - net/nss_ldap: Fix LLVM15 build 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: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 515552b2d2664dc02c2385519a7fedb855f46632 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=515552b2d2664dc02c2385519a7fedb855f46632 commit 515552b2d2664dc02c2385519a7fedb855f46632 Author: Cy Schubert AuthorDate: 2023-05-10 05:22:14 +0000 Commit: Cy Schubert CommitDate: 2023-05-10 05:29:55 +0000 net/nss_ldap: Fix LLVM15 build ./configure's test for Heimdal results in, conftest.c:47:12: error: incompatible pointer to integer conversion initializing 'const char' with an expression of type 'const char *'; dereference with * [-Wi nt-conversion] const char hv = heimdal_version; ^ ~~~~~~~~~~~~~~~ * This causes ./configure to erroneously assume 14-CURRENT uses MIT instead of Heimdal, resulting in a subsequent build failure because MIT's cannot be found. MFH: 2023Q3 --- net/nss_ldap/files/patch-configure.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net/nss_ldap/files/patch-configure.in b/net/nss_ldap/files/patch-configure.in index bd6f78efe50e..223ab338eff2 100644 --- a/net/nss_ldap/files/patch-configure.in +++ b/net/nss_ldap/files/patch-configure.in @@ -1,5 +1,5 @@ ---- configure.in.orig -+++ configure.in +--- configure.in.orig 2009-11-06 02:28:08.000000000 -0800 ++++ configure.in 2023-05-09 21:54:34.360457000 -0700 @@ -97,11 +97,15 @@ linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;; *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;; @@ -24,13 +24,14 @@ AC_CHECK_HEADERS(irs.h) ;; esac AC_CHECK_HEADERS(thread.h) -@@ -188,6 +191,13 @@ +@@ -188,6 +191,14 @@ AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi.h) AC_CHECK_HEADERS(krb5.h) +AC_MSG_CHECKING([if Kerberos is Heimdal]) +AC_TRY_LINK([#include ], -+ [const char hv = heimdal_version;], ++ [char hv = heimdal_version;], ++ [hv = hv;], + [AC_MSG_RESULT(yes) + AC_DEFINE(HEIMDAL,1,[Define if Kerberos is Heimdal])], + [AC_MSG_RESULT(no)]) @@ -38,7 +39,7 @@ AC_CHECK_LIB(resolv, main) AC_CHECK_LIB(nsl, main) AC_CHECK_LIB(socket, main) -@@ -230,7 +240,6 @@ +@@ -230,7 +241,6 @@ AC_CHECK_FUNCS(gethostbyname) AC_CHECK_FUNCS(nsdispatch) AC_CHECK_LIB(pthread_nonshared, main)