diff options
| author | Adam Vandenberg | 2012-03-17 20:44:36 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-17 20:50:03 -0700 |
| commit | 0840b48843845f1c369303c20116b6af234ed6f2 (patch) | |
| tree | 18cb8c3d9d70adedb69c9c1abfe10986390cd0f4 /Library | |
| parent | 264d273bea6abe3d1f84e2234a54229b2a766484 (diff) | |
| download | homebrew-0840b48843845f1c369303c20116b6af234ed6f2.tar.bz2 | |
tcpflow: use a p1 patch
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/tcpflow.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb index e860ad38c..47b3b5079 100644 --- a/Library/Formula/tcpflow.rb +++ b/Library/Formula/tcpflow.rb @@ -5,10 +5,8 @@ class Tcpflow < Formula url 'http://afflib.org/downloads/tcpflow-1.1.0.tar.gz' md5 '9b836b16575679e9d10f39ac7a98efbe' - def patches - # Patch from MacPorts - { :p0 => DATA } - end + # Patch from MacPorts + def patches; DATA; end def install if MacOS.leopard? @@ -18,14 +16,15 @@ class Tcpflow < Formula end system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", "--mandir=#{man}" + "--prefix=#{prefix}", + "--mandir=#{man}" system "make install" end end __END__ ---- src/util.cpp.orig 2012-02-07 14:42:10.000000000 +1100 -+++ src/util.cpp 2012-02-07 14:42:12.000000000 +1100 +--- a/src/util.cpp 2012-02-07 14:42:10.000000000 +1100 ++++ b/src/util.cpp 2012-02-07 14:42:12.000000000 +1100 @@ -114,6 +114,12 @@ exit(1); } |
