From c50cee51ed38e28dffc0976174995623e86ade8f Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Fri, 19 Apr 2013 14:57:54 -0500 Subject: ettercap: fix compilation on 10.6 and lower Fixes #17467. --- Library/Formula/ettercap.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula/ettercap.rb') diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index 6a30f0a57..bc2572ce1 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -11,6 +11,11 @@ class Ettercap < Formula depends_on 'libnet' depends_on 'curl' # require libcurl >= 7.26.0 + # fixes absence of strndup function on 10.6 and lower; merged upstream + def patches + "https://github.com/Ettercap/ettercap/commit/1692218693ed419465466299c8c76da41c37c945.patch" + end if MacOS.version < 10.7 + def install libnet = Formula.factory 'libnet' -- cgit v1.2.3