aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2023-02-11 13:30:00 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2023-02-11 13:30:00 +0000
commit8677a1eef4813876d0dae0546a01983b8bc1f88e (patch)
tree1e17eef2fa5ffc886e61073c24e12f55ac40cd9c
parent1ef8e1d1b4934edd212dc46e29c543c4b5ae523e (diff)
downloadports-8677a1eef4813876d0dae0546a01983b8bc1f88e.tar.gz
ports-8677a1eef4813876d0dae0546a01983b8bc1f88e.zip
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
-rw-r--r--www/midori/Makefile2
1 files changed, 1 insertions, 1 deletions
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