diff options
| author | Dave Cottlehuber | 2014-05-21 15:27:25 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-05-29 12:38:52 -0500 |
| commit | 6c520d7b4aad3fd3e2ed680db35adadd463de3ae (patch) | |
| tree | 21881df710f331005c11d16560575b66d20c8e59 /Library/Formula | |
| parent | 7b524f17dd9c54849f0476f35ac9eeace4e54419 (diff) | |
| download | homebrew-6c520d7b4aad3fd3e2ed680db35adadd463de3ae.tar.bz2 | |
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 #29665.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ngrep.rb | 6 |
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 |
