From nobody Wed Dec 4 19:47:15 2024 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 4Y3Shz5pGJz5g6Gc; Wed, 04 Dec 2024 19:47:15 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3Shz58YMz46m2; Wed, 4 Dec 2024 19:47:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733341635; 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=Cuc90+eJF5291L2cC5aXxeQjosypRYzkdEVXMyW82Cc=; b=P6vUUVPmhr2HUdiH8/sanl4rDO8imoulLIE93nlqRhc/Dkl3bixVmpKccInKjiByrfHQ4U f0TlZeALpyW/pzSGK5sZZJEhKgp2Ye+XzjfhCGTJyBezn5ICsb4vRu/9A1shrpfbWV0ZUX QVhQ3fYBdgf5ATK/lPSqGU/D1lGsCSkmI55BmQKKrOXyrKrKBXLpqhhA63UtMNK2q9uGgF 11YZ8TLu1d9dPBuGO/a5Czsqa4d+QxkvhNkTLWohCQ2Zk3TT0cBYmPJELM9H1aXblfHFcz o51pV5m7eE5QihcLjyWoVr46Pmj2RoN+VNkUMR2kQSodTun0PShKKW0C7WKXIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733341635; 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=Cuc90+eJF5291L2cC5aXxeQjosypRYzkdEVXMyW82Cc=; b=pmMnP/ISOuftwJ0IMAHFT8qgDiyve3xcpRgJCTx3QmMEWSw2aUOVrayqZWvXdlMXkpu2nQ fzeDaOn820SJGpxCQgyDCGvMZz1fFPPRy4WOn6Cs2JRjT5e2lSFmEim6sRPQk/+U6G7sRH ZWH28UHjwT5dRnKh4cSNqGPydHFvsVc0u4IJbjt+BeJgJjYNrJbkaEvr2o96/kCASBY1Ch XaCRLjf8FZeRfXVa/EQVmfHqVPoYsDVrW0cyfGlvsCn2tE6lDgbPtLvRXTcxXZvEecPJ/F gI697tmCGElhapby++dBozvE0kOt8s4hP0nuxLKw26iJt95I6HTyekjrYZH3XQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733341635; a=rsa-sha256; cv=none; b=GBw/E73lnWKScanFvIrPDJDoia5iUj3CxJuGaG8Hh24EutVdFL2raGDalw9E4TN70ExQYn qf1GCYUb3LbZ/puI5UfLaI0lBk8SBt/f9OkXGSHiFHIMxsRxc/dRIS3krMfyNYLDwyd5Ve NDVVayx+xwHm299VHdQmucschv831aIfjXAZcLJ9rFzZHBmeQ3HRC9huPFjMgilGoFWaj/ gkEYMwXdTwRiI8dWqNXzqkHJqGdOmBFKhZ+JwWReA+TTxEHyKOqXQUw5hwQ5c3k/gLBh24 aNltIviK11PRrE9Zf9d6tbP1oNfigccVr/kcupx2AU15vUQoXzdZVqoregvjtw== 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 4Y3Shz4WG8zLdZ; Wed, 4 Dec 2024 19:47:15 +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 4B4JlFh8008940; Wed, 4 Dec 2024 19:47:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4JlFmm008937; Wed, 4 Dec 2024 19:47:15 GMT (envelope-from git) Date: Wed, 4 Dec 2024 19:47:15 GMT Message-Id: <202412041947.4B4JlFmm008937@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: c1d61be19caf - main - security/heimdal-devel: fix with stock clang and lld >= 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: c1d61be19caf5dd7c4dee1fc0f60c76d8aab3b64 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=c1d61be19caf5dd7c4dee1fc0f60c76d8aab3b64 commit c1d61be19caf5dd7c4dee1fc0f60c76d8aab3b64 Author: Dimitry Andric AuthorDate: 2024-12-04 18:53:13 +0000 Commit: Dimitry Andric CommitDate: 2024-12-04 19:45:58 +0000 security/heimdal-devel: fix with stock clang and lld >= 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-devel this also applies, so for building the port with devel/llvm16 or higher we need to add -Wno-implicit-function-declaration to CFLAGS. Additionally, similar to bug 275979, add -Wl,--undefined-version to LDFLAGS, to suppress any linker errors about missing versioned symbols. PR: 283132 Approved by: cy (maintainer) MFH: 2024Q4 --- security/heimdal-devel/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/security/heimdal-devel/Makefile b/security/heimdal-devel/Makefile index a26934b6a4f5..ddb12f00825e 100644 --- a/security/heimdal-devel/Makefile +++ b/security/heimdal-devel/Makefile @@ -57,6 +57,8 @@ CONFIGURE_ARGS= --with-berkeley-db \ # XXX --with-readline picks up libreadline even if found in /usr/lib. GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share MAKE_ENV= INSTALL_CATPAGES=no +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