From bc02caa084e5887f77ba07b24be8c31b007e71a5 Mon Sep 17 00:00:00 2001 From: barracuda156 Date: Thu, 23 May 2024 03:32:49 +0800 Subject: [PATCH] vips: add a fix for clang on Sonoma --- graphics/vips/Portfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/graphics/vips/Portfile b/graphics/vips/Portfile index af493cf1be72..a86bd19096f7 100644 --- a/graphics/vips/Portfile +++ b/graphics/vips/Portfile @@ -62,3 +62,10 @@ compiler.cxx_standard 2011 configure.post_args-append \ -Dintrospection=enabled + +platform darwin 23 { + if {[string match *clang* ${configure.compiler}]} { + configure.cflags-append \ + -Wno-error=incompatible-function-pointer-types + } +}