From nobody Thu Oct 19 07:08:24 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 4S9zMX3tqGz4y4nN; Thu, 19 Oct 2023 07:08:24 +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 4S9zMX37rSz3F0w; Thu, 19 Oct 2023 07:08:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699304; 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=ksBtTG3PRxY+8WEqjN4Jo9lLUbjnIwfbGOQQip9wecM=; b=ihgVQ4m3TQJNs1R1QecBAOIsTdhXE59HyYRK8ZjPTKyqVE1Tee8AdqJ5pbhpg8yVwhq0+K pqRm5hKGQtRrC7CEEP32dldbJMlMU0+vg6QSd93PtCFfjKWc2LMcDr99ZOJrL2L6JJT5HM jL4Z/y75RmU2A7CR1ohCjk32CGWFLGZCUpODKe7MwYUcRXL7R8hTdelbzX6DepPQp1L0XA ZnVsF9sgo2wj8VUtUKpYLwGsWBTD01rvlXqAo4/MG8F/Y7Flniv+VllKvwyIwZvSEx9Hyz DqeP8o0hca7li0lYPUj0ZQiOZHcH1eZWPSJ8p2a2vTQ4v6f3DkSM3gs3C/HFvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697699304; a=rsa-sha256; cv=none; b=TAE8qgHUH1pqRzn/TSvFzYNFjl4h5+woUxFHKiBnKb4IcySH4IeNWsr2MCjN+NdjYB0bIy E6dn7p1BFEq03B0dT08flNLe2axE9eZArLSi8Z9aEGZP0Y+QELwg/eQoo+MpLgvnMp0+7E FrN270OT7RLmzUdn8Kz2DnPxEk2SJm+oxirfw5653CgCDLCKh0pEbjdlBHq53p+xoBGHTw p38UT9kfDJiokZqL+y7uPqtzJCZff3J8p2qFLG461Z+1tNacy5o7JTW76o/1mX6wIHGqOQ lrgAivvLUiZtW+foFL+Or5kdh61BrNawwPpKQ3xHVKZmLtxkZtOn32a/DXA8EA== 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=1697699304; 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=ksBtTG3PRxY+8WEqjN4Jo9lLUbjnIwfbGOQQip9wecM=; b=qhpP96TYrv0LjSp7kEwtQWjALBclH9aONf7j6B0xpyHrrrjgztKTKEqIcfaZTFBDpACf4o gg8jQ6PgZOG2Rb5xSiks93Tq0I+T08xfQbL0tNpK/isNmyp9wGhvM5gxb1Rw0bRMl69Kjj zZKHc8jK+jJt2rUpdvOE5e4QI6yJ8sRFDZslI5mJYwglBQDgIsALwbwa77umy8RVc7lCqo RBjl/t03aO3N3m+BZJ3LierQoMoJrQtqbX0qtm06dHAjTs+Ol7Y4Y60orHztpNdJgRz0qQ la3DK9T7CIKDft1M7l6s2KUXiX8sqEieBulmdtH/3JB57jAwA/0BqcDoIeei8g== 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 4S9zMX2CGpzfx0; Thu, 19 Oct 2023 07:08:24 +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 39J78OFB045641; Thu, 19 Oct 2023 07:08:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39J78Ors045638; Thu, 19 Oct 2023 07:08:24 GMT (envelope-from git) Date: Thu, 19 Oct 2023 07:08:24 GMT Message-Id: <202310190708.39J78Ors045638@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 4d0ab9e20997 - main - Mk/Uses/vala.mk: fix when COMPILER_TYPE=gcc 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4d0ab9e20997630f4ad6306c2fd12efb710ab2ac Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d0ab9e20997630f4ad6306c2fd12efb710ab2ac commit 4d0ab9e20997630f4ad6306c2fd12efb710ab2ac Author: Robert Clausecker AuthorDate: 2023-10-18 01:00:15 +0000 Commit: Robert Clausecker CommitDate: 2023-10-19 07:07:29 +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 --- 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