git: c57cd4390a27 - main - lang/vala: disable incompatible function pointer type error
Date: Sat, 24 Jun 2023 04:02:19 UTC
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=c57cd4390a2785863ecd06fb818da4000910a053 commit c57cd4390a2785863ecd06fb818da4000910a053 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2023-06-24 03:56:57 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2023-06-24 03:56:57 +0000 lang/vala: disable incompatible function pointer type error Generated code that is then passed to clang 16 errors with this. Fixes to the code generator are substantial and may not be backported to this release cycle, so work around as upstream suggests. Context: https://gitlab.gnome.org/GNOME/vala/-/issues/1408 --- Mk/Uses/vala.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mk/Uses/vala.mk b/Mk/Uses/vala.mk index 4d4735f8991d..402e0338d67c 100644 --- a/Mk/Uses/vala.mk +++ b/Mk/Uses/vala.mk @@ -23,4 +23,7 @@ BUILD_DEPENDS+= ${_VALA_BINARY}:${_VALA_PORT} . endif . endif +# remove after https://gitlab.gnome.org/GNOME/vala/-/issues/1408 is fixed +CFLAGS+= -Wno-error=incompatible-function-pointer-types + .endif