aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ngrep.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/ngrep.rb b/Library/Formula/ngrep.rb
index c82939c9e..0f3d4b48c 100644
--- a/Library/Formula/ngrep.rb
+++ b/Library/Formula/ngrep.rb
@@ -18,7 +18,11 @@ class Ngrep < Formula
"--enable-ipv6",
"--prefix=#{prefix}",
# this line required to make configure succeed
- "--with-pcap-includes=/usr/include"
+ "--with-pcap-includes=/usr/include",
+ # this line required to avoid segfaults
+ # see https://github.com/jpr5/ngrep/commit/e29fc29
+ # https://github.com/Homebrew/homebrew/issues/27171
+ "--disable-pcap-restart"
system "make install"
end
end