From 2a91c6a7f208c46eca33ade82b34db8dac8ad2f3 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 26 Mar 2024 20:43:03 -0400 Subject: [PATCH] cjdns: fix build with latest xcode Signed-off-by: Rui Chen --- Formula/c/cjdns.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/c/cjdns.rb b/Formula/c/cjdns.rb index cefea5fd6f008..9b848a914bd44 100644 --- a/Formula/c/cjdns.rb +++ b/Formula/c/cjdns.rb @@ -24,6 +24,10 @@ class Cjdns < Formula depends_on "six" => :build def install + # Work-around for build issue with Xcode 15.3 + # upstream PR patch, https://github.com/cjdelisle/cjdns/pull/1263 + ENV.append_to_cflags "-Wno-incompatible-function-pointer-types" if DevelopmentTools.clang_build_version >= 1500 + # Libuv build fails on macOS with: env: python: No such file or directory ENV.prepend_path "PATH", Formula["python@3.12"].opt_libexec/"bin" if OS.mac?