From nobody Sun Aug 06 12:30:46 2023 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 4RJf1f6BrBz4pyKM; Sun, 6 Aug 2023 12:30:46 +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 4RJf1f2HLCz4P15; Sun, 6 Aug 2023 12:30:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691325046; 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=Frme9iKeiX3DSyoQwDNn4JiMd56rwZcnbhld1fWNuUo=; b=d/4CD935Jzsni2x9oIFzbJ6eqCjVwGA2awCBXCWGYo/4URyDdznAOKRB8tQq0zebzQQxGc tZR0oLaai1ansEAZbRSg6YjwvV9OVsNsqGmThfowtQW1ZEuPI0dGhciALQSqo4+a0ZqKqQ 1syz/g1BxD/0H21AjR3p+xqkoRNgsSI/AK08Y3+lCeUyss2mLRGwG1QQwH6qRA5YGpj362 tGIhuElhr7LPVXdpR6iy4aYLQaiKAvc4NvcypkJPzYWm6pJYwBT4eLLhz+QfQZm7vPMfFh Rrb3N7obPTEv3b+snbpapXL3Gm+CdjhUhafEdDEFSb/AftprRUAB8GnZdyqpiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691325046; 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=Frme9iKeiX3DSyoQwDNn4JiMd56rwZcnbhld1fWNuUo=; b=eHaJCNPaOfEs/VxaKsROe82/i09Apxu+yJMSl0jhZs/P8AnufL+6UfNBbxwlrGLtrU6RTx EwWILew+55UfkP3Hj7Q2EzQ5ho6jOH7cPpOhAKsN8SRc3MpEYfJNOKgfmtJ5I4Uj/JacQJ 4kmsGETT/Zp7K9glfm7nT2b5T+UifohQ7My/BKyqGy/NSSHIwUORUgC5mTNvONwCQ+a2C0 2x4o1S3m8MOuoYA2RvN/o9gSvQDZjddBlvcQheHMLtw2OGYb859i7QN90VaZF09KYQsk3f j50b7dri6+IQISqQRWMARl03vfP+LHTjkaa2pU1Hi/X5Y/z1Zw7kvI6vkt2K/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691325046; a=rsa-sha256; cv=none; b=o+1foaJ8nQSi7iiwVpT6cYEFFqjKf3gS7e/xpk9yJD+Hg+3u8IlQzzM7ioKUcixS+54obR FJrdY4CCkkJBlUaBnz4+uM7CMNJTAF7Ld3RNp0fVFsM5Wq7pd3HmJAXAxIHtgaxhJJP1jd tJUzGXO3lMxJWOV7G4bVl3jjS+bDZJQWK7Lr6UDoyNyboKbRd52/SBqAgXGpxwtdK3YPaB qYbhB/QLHhIAXPF0jrG72Z90NELESfU6LEI9XNzZCes3s1GlWTVoB92i188ifdNfIeIfDc MgrkDIY+TQbJJeaqjvIbmFqfqM1giEc/PZLBmA/kQTmEFzFXQpsA1TQsskJbgA== 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 4RJf1f1C3Bz19K1; Sun, 6 Aug 2023 12:30:46 +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 376CUk4R034893; Sun, 6 Aug 2023 12:30:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376CUkhv034892; Sun, 6 Aug 2023 12:30:46 GMT (envelope-from git) Date: Sun, 6 Aug 2023 12:30:46 GMT Message-Id: <202308061230.376CUkhv034892@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8861a8abb3fe - main - sysutils/fsc: Fix build with llvm16 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8861a8abb3fe70365022e512c69009b457e36c4e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8861a8abb3fe70365022e512c69009b457e36c4e commit 8861a8abb3fe70365022e512c69009b457e36c4e Author: Muhammad Moinur Rahman AuthorDate: 2023-08-06 11:48:04 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-06 12:30:35 +0000 sysutils/fsc: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/fsc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysutils/fsc/Makefile b/sysutils/fsc/Makefile index 0641ed46010e..9679f3adeba3 100644 --- a/sysutils/fsc/Makefile +++ b/sysutils/fsc/Makefile @@ -16,6 +16,12 @@ GH_ACCOUNT= bsdtrhodes GH_PROJECT= freebsd-fscd GH_TAGNAME= ef16626 +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ ${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \