From 2f450c70cd91fdcbf12a8f82440db235cd90a801 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 23 Jun 2023 20:43:46 +0200 Subject: [PATCH] www/webkit2-gtk4: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- www/webkit2-gtk4/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/webkit2-gtk4/Makefile b/www/webkit2-gtk4/Makefile index 4f7bdf06482b5..b0d7445a16b75 100644 --- a/www/webkit2-gtk4/Makefile +++ b/www/webkit2-gtk4/Makefile @@ -99,6 +99,12 @@ WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwpe-1.0.so:www/libwpe \ libWPEBackend-fdo-1.0.so:www/wpebackend-fdo +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CXXFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-egl; then \