From nobody Thu May 2 20:11:15 2024 X-Original-To: dev-commits-src-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 4VVlSM5264z5JyNS; Thu, 2 May 2024 20:11: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VVlSM1zsjz4rwT; Thu, 2 May 2024 20:11:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714680675; 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=8U1BPAtePnq48nsD6lu3ZaZPJicgL/g6HlGWkgfZrBU=; b=mF94Pvi0H9Qj7SHQYeZRPXGPcPZjh3ZhX0pZhmyL2FBHRkzGhxzPYDEIdjEjrjimRCiBLD wf9nBtZeBpepbjjk+CQYIxhY9W7Y7u+jyn383jEqp6aw5NsYj6/ajOu1MLgaIJFxlnP4sn hmqYo0d/VtbsnMFCJtQd5Qnv2JtfGi2wryBEpplVSk5QHdGSm8EDoBh/ElDfSjyOxHsbss 8hklkfyVCzMx5bjn0lIBFtKYpK7EEKjWte3g2M7EiwcqkYqNhPichMkWIgY32wryoQXngS cg1uT6ZnbYu7Wm0FThV9Ppfo8hhsZZCYe5nS9ANTsqAMYXyiLfF8Ic4PTtuVyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714680675; a=rsa-sha256; cv=none; b=LLiftOwgiQdtF8fxRHoQ79DmxLqvcY85+FSRpEUBfoIk30s12aFN0TUzf7siqbntz2k7je 5kaViLsS7BKw7fdAxkvpBSzoZIeAZDkjw3Ni8rWbLYx8ElyUNU4KlcjZzyBkGsLN//ectu gF3pRw8uArcKT2V/uoktYA5Vm4gXE0InO9AK42wn4/nbc8Hb1RljY3MswI2J2Ptq2zBUzr 77BRrXUmwG/uLiC/I+88SZmqKFB15+Nk8b5ju4goqpwh+T+5bno/Tj8KsH/wfHc4Zexy0X qIf8zfdbZZ8RSMP7x2QYuP7dmlUnTh8py7wH478RGZHatO19nVqxM30DhgPBJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714680675; 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=8U1BPAtePnq48nsD6lu3ZaZPJicgL/g6HlGWkgfZrBU=; b=rimS26BuEXp+TPXjJzC8LiOzxTDcrxEwN8+oSAwNFI4bqyGLb+3786zt1tM5PsR+KyYEbu I6I7wE9xUNNLMOzj+xjG+5ViOw//m4pFiQhLuO4Ity1xNPE0HVl60ZTEB9b3v0273g/oMB W7wNB81801brba7+o5Kp7wufj0UjnFFNCXgUCD9UoHZ1dH/lLHrVH107eqEXs1v2wv7/gK XzK7+IGn/aE4CWc2M6XelW6glpcfKnojqLBT7VOGhhgmRsYCBvEpO1tEugvU4jDVniFdzA H90wGY28I1SYD/8otih157Nkb5blR+ET2Eiu2SWdiUldnD4zPtQ5exh3eECPJQ== 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 4VVlSM1MhKzH19; Thu, 2 May 2024 20:11:15 +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 442KBFs1069994; Thu, 2 May 2024 20:11:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 442KBFcH069991; Thu, 2 May 2024 20:11:15 GMT (envelope-from git) Date: Thu, 2 May 2024 20:11:15 GMT Message-Id: <202405022011.442KBFcH069991@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: ef6935581e62 - stable/14 - mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ef6935581e6294b2728a493aee5a30101a90bea2 Auto-Submitted: auto-generated The branch stable/14 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=ef6935581e6294b2728a493aee5a30101a90bea2 commit ef6935581e6294b2728a493aee5a30101a90bea2 Author: Jessica Clarke AuthorDate: 2024-03-16 01:50:20 +0000 Commit: Jessica Clarke CommitDate: 2024-05-02 20:10:13 +0000 mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15 macOS, like Linux, does not include an outer const qualifier for its fts_open callback arguments, so -Wincompatible-function-pointer-types also picks this up and breaks the build now Clang 16 makes it an error by default. Extend the existing Linux support to fix this. MFC after: 1 week (cherry picked from commit ce312ef72d91888d332f7f042298001794b66914) --- contrib/mandoc/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/mandoc/config.h b/contrib/mandoc/config.h index 213513f1c87e..91957717b3fc 100644 --- a/contrib/mandoc/config.h +++ b/contrib/mandoc/config.h @@ -13,7 +13,7 @@ #define HAVE_ENDIAN 0 #define HAVE_ERR 1 #define HAVE_FTS 1 -#ifdef __GLIBC__ +#if defined(__GLIBC__) || defined(__APPLE__) #define HAVE_FTS_COMPARE_CONST 0 #else #define HAVE_FTS_COMPARE_CONST 1