aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-17 09:40:40 -0700
committerAdam Vandenberg2012-07-17 09:40:40 -0700
commitc4b99d4367aee69ec5403d5b32fec6d9c5db05e8 (patch)
tree6b1dd28340cd6033816d059b75349f6c74a5fc28 /Library/Formula
parentfe2e8dfa95551ad8bc4676bd1566e610e1d027fe (diff)
downloadhomebrew-c4b99d4367aee69ec5403d5b32fec6d9c5db05e8.tar.bz2
tcpflow 1.2.7
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpflow.rb24
1 files changed, 2 insertions, 22 deletions
diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb
index da82b8b95..183e88326 100644
--- a/Library/Formula/tcpflow.rb
+++ b/Library/Formula/tcpflow.rb
@@ -2,11 +2,8 @@ require 'formula'
class Tcpflow < Formula
homepage 'https://github.com/simsong/tcpflow'
- url 'https://github.com/downloads/simsong/tcpflow/tcpflow-1.2.6.tar.gz'
- sha1 '4267c491cd5f944f8deba727aa7870ced1ad2224'
-
- # Patch from MacPorts
- def patches; DATA; end
+ url 'https://github.com/downloads/simsong/tcpflow/tcpflow-1.2.7.tar.gz'
+ sha1 'e7e71a34afb4d557ebe80e2d589f00d4afd38be4'
def copy_libtool_files!
if MacOS.xcode_version >= "4.3"
@@ -28,20 +25,3 @@ class Tcpflow < Formula
system "make install"
end
end
-
-__END__
---- a/src/tcpip.cpp
-+++ b/src/tcpip.cpp
-@@ -541,6 +541,12 @@ unsigned int tcpdemux::get_max_fds(void)
- perror("getrlimit");
- exit(1);
- }
-+
-+#if defined(__APPLE__)
-+ if (limit.rlim_max > OPEN_MAX) {
-+ limit.rlim_max = OPEN_MAX;
-+ }
-+#endif
-
- /* set the current to the maximum or specified value */
- if (max_desired_fds) limit.rlim_cur = max_desired_fds;