Skip to content

Commit

Permalink
Merge pull request #167262 from Homebrew/cjdns-fix-build
Browse files Browse the repository at this point in the history
cjdns: fix build with latest xcode
  • Loading branch information
BrewTestBot authored Mar 27, 2024
2 parents 0c86d74 + 2a91c6a commit e1f3f2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/c/cjdns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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["[email protected]"].opt_libexec/"bin" if OS.mac?

Expand Down

0 comments on commit e1f3f2d

Please sign in to comment.