git: 8677a1eef481 - main - www/midori: Workaround build issue with llvm 15

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 13:32:13 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8677a1eef4813876d0dae0546a01983b8bc1f88e

commit 8677a1eef4813876d0dae0546a01983b8bc1f88e
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-02-11 13:30:00 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-02-11 13:30:00 +0000

    www/midori: Workaround build issue with llvm 15
    
    New defaults in llvm cause midori to fail to build.
    
    Due to it being coded using the vala language, it is not easy to
    fix this specific iussue, so work around it by adding a compiler
    flag to disable the warning causing the failure.
    
    Reported by:    pkg-fallout
---
 www/midori/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/midori/Makefile b/www/midori/Makefile
index 49588a3bedc6..06efda6dfdc5 100644
--- a/www/midori/Makefile
+++ b/www/midori/Makefile
@@ -28,7 +28,7 @@ USE_GNOME=	cairo glib20 gtk30 intltool introspection librsvg2:build \
 
 CPE_VENDOR=	midori-browser
 
-CFLAGS+=	-Wno-return-type
+CFLAGS+=	-Wno-int-conversion -Wno-return-type
 CMAKE_ARGS=	-DUSE_APIDOCS:BOOL=OFF
 
 USE_LDCONFIG=	yes