From 2736b84d02fcf49566148d26c9d135b664939131 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 17 Mar 2012 20:24:06 -0700 Subject: ettercap: use p1 patch --- Library/Formula/ettercap.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3