diff options
| author | Adam Vandenberg | 2012-03-17 20:24:06 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-17 20:50:02 -0700 |
| commit | 2736b84d02fcf49566148d26c9d135b664939131 (patch) | |
| tree | 6259f8da0b7138c584178d65a26edd332123ac54 /Library/Formula | |
| parent | 80ea5d2c6f5d4835f7dc95618ac00fc008ab67d6 (diff) | |
| download | homebrew-2736b84d02fcf49566148d26c9d135b664939131.tar.bz2 | |
ettercap: use p1 patch
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ettercap.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index 0dcce3c81..c53239b1e 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -11,9 +11,7 @@ class Ettercap < Formula # The below DATA patch fixes an issue where the linker doesn't get passed the ettercap-built # 'libwdg' archive which is used for the ncurses interface, thus causing a build failure. # See https://github.com/mxcl/homebrew/pull/9540 - def patches - { :p0 => DATA } - end + def patches; DATA; end def install system "./configure", "--disable-debug", "--disable-dependency-tracking", @@ -32,8 +30,8 @@ class Ettercap < Formula end __END__ ---- src/Makefile.in 2009-12-20 14:09:50.000000000 -0500 -+++ src/Makefile.in.new 2009-12-20 14:10:42.000000000 -0500 +--- a/src/Makefile.in 2009-12-20 14:09:50.000000000 -0500 ++++ b/src/Makefile.in 2009-12-20 14:10:42.000000000 -0500 @@ -47,7 +47,7 @@ bin_PROGRAMS = ettercap$(EXEEXT) @HAVE_DN_EXPAND_TRUE@am__append_1 = dissectors/ec_dns.c |
