From nobody Sun Jan 05 13:54:27 2025 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 4YQzM80hGQz5jjSl; Sun, 05 Jan 2025 13:54:28 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQzM80128z4q4F; Sun, 5 Jan 2025 13:54:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736085268; 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=NKLiBFfiLkLQD7SV37n/bk2e49BYIwqVsOlQ9KbnP7I=; b=EDKSlZ66kieblozn3y8cMeFbbnn5QuyyF9XVxPbpHjd02CrFRds+X/54gh6wQkycCC53uf VrO6edAAgxVXvQDqXwf5nI6KgFSy6b/dfmupHGlysvb4zB0HHqO3Ru63HIrOSI9TN1OLcq /zE4R9WAyrU2OLc/nIMGzWepzW5cu4gU+mTC4kusl7ZltDgUrkdc7vO7oFvKyK36Qo24m6 smfrWcAJhXqmrBM1WlXjP8S0Lqux+7IqiP/j+3TF+fbKpNqsOlC5oh/hQdRAUhj5A5mMiT pGne5aZmLxq8Slk9hvcfTFkE2HEjUdJrQiQXk6xHSZtFZrSD/Rq+1EHxj//VTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736085268; 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=NKLiBFfiLkLQD7SV37n/bk2e49BYIwqVsOlQ9KbnP7I=; b=ODBolU+JMrAUnwpie39+VKyf+OL+SF0siPOB9Nz0GyoOTs/R4JVCU8p0slLBD/TwoqEUqz 74FLZiAnsF1OqzR8qWLZEoCYnYoppEb81euBa6juB2iHXa9BEj494IEQY8Mv7112EjzgX0 mWGmVk3+mjMNoI2GZb9+H8Y9u9xVKpYm8y0wVrgFmpVcblkkIVxYS475zkukklrm/p3Hwl F/UWHmajYbKBNx+NbYWinQbrpTuVz60gpufpCLhH2O4BtbclxwYChtGNDyiw+wW31GcJeD 2KdCkaT8ftarvBHK16+rEJljX6LVQQL4R37pQJ9wZI6BT/cBajuYxVaBph8SQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736085268; a=rsa-sha256; cv=none; b=lguDx0vAJC36FQtsI8k2cAC1zXa+EBz4mIc21VXziwxDt38tMJxzU/2Vge5vXdZ5k8SYxX CdwX1MeL0PyxrDAXZBvOJ78c638qTf9fdIgLAtDFHUnA8rqF7dIUml2kRj3nTWKMs87t4n c70RTFKNf4CENcnFBAKXVz8AKu40ws/1nwP1dL8VnWL05RhtZLBuLHDUolQ0BtTJVp2d6v uD48uNsZVdvq4j+orJRNW7YThxw2MKvjBbHrG47JcHJqoVcA4HCula9FecNTkCsxNiM2z0 T+H2l+6lvTv1J/joG91B51rVe/kQkxR9lNkT37+7nuUsv68wlM779SI0836SFg== 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 4YQzM76RKVzhvr; Sun, 05 Jan 2025 13:54:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 505DsRTR044835; Sun, 5 Jan 2025 13:54:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 505DsRff044832; Sun, 5 Jan 2025 13:54:27 GMT (envelope-from git) Date: Sun, 5 Jan 2025 13:54:27 GMT Message-Id: <202501051354.505DsRff044832@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dimitry Andric Subject: git: c044b16d8a34 - 2025Q1 - security/heimdal: fix with stock clang >= 16 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: c044b16d8a349de70c18a5cb3bad45ba944524a3 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=c044b16d8a349de70c18a5cb3bad45ba944524a3 commit c044b16d8a349de70c18a5cb3bad45ba944524a3 Author: Dimitry Andric AuthorDate: 2024-12-04 18:49:29 +0000 Commit: Dimitry Andric CommitDate: 2025-01-05 13:54:07 +0000 security/heimdal: fix with stock clang >= 16 Upstream clang >= 16 made -Wimplicit-function-declaration into an error by default. In the base system, this change was reverted to reduce the fallout in ports, because there are many problematic configure scripts. For security/heimdal this also applies, so for building the port with devel/llvm16 or higher we need to add -Wno-implicit-function-declaration to CFLAGS. While here, use LDFLAGS+= for -Wl,--undefined-version, to avoid overwriting any user-specified LDFLAGS. PR: 283131 Approved by: maintainer timeout (2 weeks) MFH: 2025Q1 (cherry picked from commit 4d5d01f42f436a1834773cc616fb7a693acfbc74) --- security/heimdal/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 3508ad2f8f0c..dae850e063f3 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -45,7 +45,8 @@ CONFIGURE_ARGS= --with-berkeley-db \ --sysconfdir="${PREFIX}/etc" # XXX --with-readline picks up libreadline even if found in /usr/lib. MAKE_ENV= INSTALL_CATPAGES=no -LDFLAGS= -Wl,--undefined-version +CFLAGS+= -Wno-implicit-function-declaration +LDFLAGS+= -Wl,--undefined-version INSTALL_TARGET= install-strip .if !exists(/etc/rc.d/ipropd_master) USE_RC_SUBR= ipropd_master ipropd_slave