From nobody Sun Jan 5 13:53:31 2025 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 4YQzL41f22z5jjw0; Sun, 05 Jan 2025 13:53:32 +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 4YQzL36S1jz4qHY; Sun, 5 Jan 2025 13:53:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736085211; 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=TfK1FB1/kQ6htGoRUgflnzfeMg4wwVhTm//vnWQ99TY=; b=eXmzRlwr11y3xDihkbphhJ/AzSakdzES5GRb0Bi5wJv8zUHGw8FiQAKPcjVV8poQ5FXqVg tGznZL2Fq+kfkiDHhp+HaWLopAE+m1HJRPVC6wBz8EyCR4nFlv6dhQcCqloBTDqzYQohRD vpFLNvuy4yGjeBDnRoKMou765JO8ebTTzckaqmvIoDepQfpdrVE2M3jd74obv1LeZTIisF TuwGWVq+ZlCDDgEairI7eBHPe7MDz3sJzkhhJ9z7/vrDMpM+58kjgH13aZBpDmH1a0bMTP hv2Rpkm7lwj5l4QK8umCfZs5yWt+CQwzCDTapurQjXRGAuTkajFcmxGwutro1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736085211; 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=TfK1FB1/kQ6htGoRUgflnzfeMg4wwVhTm//vnWQ99TY=; b=KdaQc5c9USWUS1FcuzrJQidTpoOPNfwiERKLxDSeoYxLRb9YUTQsB9AvaprSSi1TTf9Pn9 wgOb0i527kEa5W8T2TEiqzrMIhTiug5crJAB5EAsq/Fjiw9UZYOebLri/k63AJrA1Fwwh4 1XAVCDDuLnwlsIURmNFTilgCZH1nwKmJZBwUCTV3UnSNfm+UL5or0by8xIebU/AxmHBlxW sdaHCjCMV0Yj5Ho5phMg3y8I1OX3IhyktYrpRNyNiiWwjWjcEg1FBDZ01H0qFjfwo3PhYr le9i1umj0PpBlU6LHHQS06VY6mxNwBGjaTt916EqYCG2RTAhBMysaxTJi3AKkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736085211; a=rsa-sha256; cv=none; b=gu0PsQI/UGVwRm4G7H8smohtwvCq5Y/6gXXaFUkpUPzArOFJ3ZQJqF0QDWyJ+MPo6aLrDv 8bFcupyfTGufia26mQPyvPDqBJxiLwGqrtYzdGyQvt0hK2BofYFMNBrQjHPGTO0vi+Swis pjdLkyJINntRTmQffLr97GuR5uRpZoGYeGdEvNZnP5aL+eUftyfzuJaK6v7nQKxc1fGuMV aaFcmUOWD64BleIsEgI2Eazsd/JPtFFWX2RZn8CTRTFQTvm9C4bc5gytwrObNSE3PIM3Gq x3FJFgelOOTmX7p6AucjanpLmCWljL1fPnx1soTkp0D61nbXIfWyyfPiQAue0w== 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 4YQzL362qgzhNb; Sun, 05 Jan 2025 13:53:31 +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 505DrVEC044415; Sun, 5 Jan 2025 13:53:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 505DrV18044412; Sun, 5 Jan 2025 13:53:31 GMT (envelope-from git) Date: Sun, 5 Jan 2025 13:53:31 GMT Message-Id: <202501051353.505DrV18044412@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 4d5d01f42f43 - main - security/heimdal: fix with stock clang >= 16 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 4d5d01f42f436a1834773cc616fb7a693acfbc74 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d5d01f42f436a1834773cc616fb7a693acfbc74 commit 4d5d01f42f436a1834773cc616fb7a693acfbc74 Author: Dimitry Andric AuthorDate: 2024-12-04 18:49:29 +0000 Commit: Dimitry Andric CommitDate: 2025-01-05 13:52:58 +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 --- 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