From nobody Sat Jul 22 06:11:35 2023 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 4R7GK46bTnz4pG4w; Sat, 22 Jul 2023 06:11:36 +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 4R7GK40JKHz4JR7; Sat, 22 Jul 2023 06:11:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690006296; 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=4ZBHi7AJjLn3UC5rjTisujFtVEKeKh4ySxTdAM1Xhks=; b=eKYAERNq5gRPVgs1n0lt5L/CZrQvwfPa1IKNCAUTbzIfDpL4h03R5/Auj5X9rD5d6MLWlN cBWSyMrPEZ34f9d10AWBYtTwh8DfRmmHcuTKZZ/zpS9rW3KU3n831hMqRrL259/ugOTnBg HLBcs6bi5UWLg6YA6lVev8n+BWhvISvAKf9jLuJbKn1ef6hkYocr7eiBlKPS6RCrIJIndC OKc0tRi0+JriwKgcy6PEExLUSD6G7mQiDLspr64r/e/e6ShEoZhMk4KvwpJ1ovdnW8xgSB xLKbRagOqoh6YxMymzp2ugD2vQHq8j66HU5OgHNdIl08BZSIRVz/hgHnI9LSow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690006296; 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=4ZBHi7AJjLn3UC5rjTisujFtVEKeKh4ySxTdAM1Xhks=; b=qiq+JGLqEAMzlib5Ixc16WqAuKuGYnaiILYZZtbnutlneLLPitWjVrjm7oBpYaBJ0vXBb0 pNlj2TqciTeafNEX1606BpsLvEywC5Mi74BRRm2RL7S/NaEi9OwM8XvRrRLXHXvQm+2mVf Zh6xiFhFAgUzsHqDc9fYttH0DD77xCUVDU0w1EWuxaWOsaRNKsGaaYsw7L50CrfDJwA/CW +Sk0ZKl8MItAZjEqeQ3B2Urf+jcEiI9VwYI4njcjgfPNyIk9SFJAThWHoXU6JExGMI4356 /GdcqLR3KoxK/8J0Z8f8R33kJd/wO4j61Y49+GX4CxIRuud8oKKC0OVct/eNwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690006296; a=rsa-sha256; cv=none; b=yWzvev9RJBClF7evyIR6mSKQcCaBbhC2cUfRvJQ0fx9EfU/B+77tfWggV33ByrG0ZqPxPG M2YbFqlfkP59g4vT6c1rRM2mlMSu/q9qVJrbyUgodGKfOVsa/PvnsXVW4J5sTHBiHKnL28 YMLwNgb/yYEHIVX3Yl7wf78t+IavStbqkksCH3gv4z7kRFnHJsTYxXmy638J8QQeHSZtfe YEWZtFMht44yINeDo/eM/AsK8aZfZ1YRBvFLNUl0t6KQvuoq6jcvhvSzBDIa5HZfqLwQQq swyBe7r7HPQt8lqL0AMYw4fGaMJfxHwTlHHJftpxFcqCmaFEsAAEaTmxRb3fyw== 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 4R7GK36Pq1zk2f; Sat, 22 Jul 2023 06:11:35 +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 36M6BZfw061841; Sat, 22 Jul 2023 06:11:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36M6BZrl061840; Sat, 22 Jul 2023 06:11:35 GMT (envelope-from git) Date: Sat, 22 Jul 2023 06:11:35 GMT Message-Id: <202307220611.36M6BZrl061840@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: fbb3f1c01c4e - main - lang/smlnj: Fix build with llvm16 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: fbb3f1c01c4e60c53dd0d0dd3c11449c3dd97486 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=fbb3f1c01c4e60c53dd0d0dd3c11449c3dd97486 commit fbb3f1c01c4e60c53dd0d0dd3c11449c3dd97486 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-22 05:58:56 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-22 06:11:21 +0000 lang/smlnj: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/smlnj/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lang/smlnj/Makefile b/lang/smlnj/Makefile index c34454054a27..db9ec7f3ae40 100644 --- a/lang/smlnj/Makefile +++ b/lang/smlnj/Makefile @@ -21,17 +21,20 @@ ONLY_FOR_ARCHS= amd64 i386 USES= compiler -NO_WRKSUBDIR= yes - SUB_FILES= pkg-install SUB_LIST= EXEBINDIR=${MLBINRELATIVE} EXENAMES="${MLEXE}" + +NO_WRKSUBDIR= yes + PKGDEINSTALL= ${PKGINSTALL} OPTIONS_DEFINE= EVERYTHING RECOMPILE -RECOMPILE_IMPLIES= EVERYTHING + EVERYTHING_DESC= install everything from the SML/NJ distribution RECOMPILE_DESC= recompile the SML compiler - implies EVERYTHING +RECOMPILE_IMPLIES= EVERYTHING + .include # XXX see FreeBSD PR 247421 @@ -43,6 +46,10 @@ RUNTIME_SO= "${STAGEDIR}${MLBIN}/.run/run.$${ARCH}-$${OPSYS}.so" PLIST_SUB+= RUNTIME_SO= .endif +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .if (${ARCH} == "i386") MLARCH= x86 MLSIZE= 32