Skip to content

Commit

Permalink
freeswitch: fix build error for undeclared identifier 'NSIG' (#77004)
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m authored May 31, 2021
1 parent 316b471 commit 2516a2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/freeswitch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ class Freeswitch < Formula
end

def install
# Fix build error "use of undeclared identifier 'NSIG'"
# Remove when fixed upstream: https://github.com/signalwire/freeswitch/issues/1145
on_macos do
ENV.append_to_cflags "-D_DARWIN_C_SOURCE"
end

resource("spandsp").stage do
system "./bootstrap.sh"
system "./configure", "--disable-debug",
Expand Down

0 comments on commit 2516a2d

Please sign in to comment.