tcpflow 1.1.0
Closes Homebrew/homebrew#10020. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
797fd29d89
commit
91e4acf537
1 changed files with 10 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'formula'
|
||||
|
||||
class Tcpflow < Formula
|
||||
url 'http://afflib.org/downloads/tcpflow-1.0.6.tar.gz'
|
||||
homepage 'http://afflib.org/software/tcpflow'
|
||||
md5 '05febeeabbbc56686dabb509fbb02e86'
|
||||
url 'http://afflib.org/downloads/tcpflow-1.1.0.tar.gz'
|
||||
md5 '9b836b16575679e9d10f39ac7a98efbe'
|
||||
|
||||
def patches
|
||||
# Patch from MacPorts
|
||||
|
@ -24,13 +24,11 @@ class Tcpflow < Formula
|
|||
end
|
||||
|
||||
__END__
|
||||
Index: src/util.c
|
||||
===================================================================
|
||||
--- src/util.c.orig 2011-09-25 08:25:23.000000000 -0500
|
||||
+++ src/util.c 2011-10-01 20:54:36.000000000 -0500
|
||||
@@ -199,6 +199,12 @@
|
||||
exit(1);
|
||||
}
|
||||
--- src/util.cpp.orig 2012-02-07 14:42:10.000000000 +1100
|
||||
+++ src/util.cpp 2012-02-07 14:42:12.000000000 +1100
|
||||
@@ -114,6 +114,12 @@
|
||||
exit(1);
|
||||
}
|
||||
|
||||
+#if defined(__APPLE__)
|
||||
+ if (limit.rlim_max > OPEN_MAX) {
|
||||
|
@ -38,6 +36,6 @@ Index: src/util.c
|
|||
+ }
|
||||
+#endif
|
||||
+
|
||||
/* set the current to the maximum or specified value */
|
||||
if (max_desired_fds) limit.rlim_cur = max_desired_fds;
|
||||
else limit.rlim_cur = limit.rlim_max;
|
||||
/* set the current to the maximum or specified value */
|
||||
if (max_desired_fds) limit.rlim_cur = max_desired_fds;
|
||||
else limit.rlim_cur = limit.rlim_max;
|
||||
|
|
Loading…
Reference in a new issue