From nobody Thu Oct 19 07:10:38 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 4S9zQ73tNLz4y4vR; Thu, 19 Oct 2023 07:10:39 +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 4S9zQ72Z5bz3HcD; Thu, 19 Oct 2023 07:10:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699439; 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=kw9C8+j5aZRTFWHU1Q1WBwHL8goVsXfbKz6X5iMdfQk=; b=FIu0W1D7Y8tICC73hgsgmFNGSO9CssMXxbwORNUSLWwA7cH+KyNGUXI/IdgKUGnwV/AU8R TYb/VYOwkKJLlhDh3r/xcH2EZKCb5yMg0Gvbi9oBb7/M30oKpq+e2iNPX8MBaNtrhHmnkS Di0W/nke+3/8hrtTJ+PChtn5A+53K2Qk3Xnn6RrreoECCmqOOnQuVcwtjSQrRXXXvWQGaK mLGgm62m8NYosoHXAgS6dybKSG7gE9xhc30JQ9GmgVBWzyRneFTfXUcODu9eo7dWtFVBAS iGNHcNIxo3MYc4xhr1uJePybHK9EisdXQ6HdbPhCuyjjwPfMIblGHNdbzTbLTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697699439; a=rsa-sha256; cv=none; b=rXgGe+fKNoaOX6HO5HhAsuPdT/NzL9O8NPyw4eh6TCdMfYlo+xoxpRzcO1Js4n2VdZ3RL7 9MlOSAm0Z5vIIaVQb0cFXDK4+eGBHG/12T+/CCHYZj016eoBSgnbCByd+z4cNWR5QvxFp2 PYN3Cr8XC294eyhfEWCNyn84VVQqkTsVAJdAGcfVHMWTVbew4LeENVaRlGY02Iq0pP+59Q 7Mv74Rg35tXBeRSX6TDckkquS+RgdeiDp4hejrFArxmURSYjwNT7j/NSNByXtLRrTOCQ2t iLcbaugYYQ84mgN9HjmlD7WGqOXj0euJKuz2O1Paag0n+6o+F1D1sbxOl/YL2A== 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=1697699439; 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=kw9C8+j5aZRTFWHU1Q1WBwHL8goVsXfbKz6X5iMdfQk=; b=b0Dv8h8oAgi8LnpJ4uk4J09qrPSKxo2DDbkiUi0529eDzRLsRkKt9Hb1AYS/H6zQDVxj5m w3wbow8+O2CzbAOuZAtXI+xQ++xpQF+ajSyYn7dWxC0Ywc5PogePX9QKII1Lkoh26rFSkw IafZxj4VCqxE29O4FauGslRuCaxXYdiNfIO9d8S5xp+E1/qi5gY1EwqDwjYVE3+j6CYsFd Pe0pIQmn9mJ7BfmVrgCt73XiomsqUeSBueEDR4rRsWgDg1dsb/FliqpLejPKnsIHa3Pg80 5EjDFJqrDFRrUYqnbs7rO/FIcDdKV/AfbwNjZSjReqO6wAVs47tlJTzUliUglQ== 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 4S9zQ70SMZzgQJ; Thu, 19 Oct 2023 07:10:39 +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 39J7AcJ9057506; Thu, 19 Oct 2023 07:10:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39J7Accb057491; Thu, 19 Oct 2023 07:10:38 GMT (envelope-from git) Date: Thu, 19 Oct 2023 07:10:38 GMT Message-Id: <202310190710.39J7Accb057491@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: 098dd441b435 - 2023Q4 - Mk/Uses/vala.mk: fix when COMPILER_TYPE=gcc 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q4 X-Git-Reftype: branch X-Git-Commit: 098dd441b43582a9e8386d77d2dede5e7f563274 Auto-Submitted: auto-generated The branch 2023Q4 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=098dd441b43582a9e8386d77d2dede5e7f563274 commit 098dd441b43582a9e8386d77d2dede5e7f563274 Author: Robert Clausecker AuthorDate: 2023-10-18 01:00:15 +0000 Commit: Robert Clausecker CommitDate: 2023-10-19 07:10:08 +0000 Mk/Uses/vala.mk: fix when COMPILER_TYPE=gcc gcc does not support -Wno-error=incompatible-function-pointer-types. Only enable the warning for clang to fix various ports that fail to build with error messages like cc1: error: '-Wno-error=incompatible-function-pointer-types': no option '-Wincompatible-function-pointer-types'; did you mean '-Wincompatible-pointer-types'? MFH: 2023Q4 (cherry picked from commit 4d0ab9e20997630f4ad6306c2fd12efb710ab2ac) --- Mk/Uses/vala.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/vala.mk b/Mk/Uses/vala.mk index 2e1b4e8d0388..a43969807a8a 100644 --- a/Mk/Uses/vala.mk +++ b/Mk/Uses/vala.mk @@ -24,7 +24,8 @@ BUILD_DEPENDS+= ${_VALA_BINARY}:${_VALA_PORT} . endif # remove after https://gitlab.gnome.org/GNOME/vala/-/issues/1408 is fixed -. if ${ARCH} != powerpc +.include "${USESDIR}/compiler.mk" +. if ${ARCH} != powerpc && ${CHOSEN_COMPILER_TYPE} == "clang" CFLAGS+= -Wno-error=incompatible-function-pointer-types . endif