aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-17 20:24:06 -0700
committerAdam Vandenberg2012-03-17 20:50:02 -0700
commit2736b84d02fcf49566148d26c9d135b664939131 (patch)
tree6259f8da0b7138c584178d65a26edd332123ac54 /Library/Formula
parent80ea5d2c6f5d4835f7dc95618ac00fc008ab67d6 (diff)
downloadhomebrew-2736b84d02fcf49566148d26c9d135b664939131.tar.bz2
ettercap: use p1 patch
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ettercap.rb8
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