ngrep: additional flag prevents segfault
Known issue on BSD platforms since v1.4.4 and configure produces a warning if not present: https://github.com/jpr5/ngrep/commit/e29fc29 NB ngrep seems to have moved to git at https://github.com/jpr5/ngrep Closes Homebrew/homebrew#29665. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
6e49f5d6df
commit
78865aef46
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue