[92271] trunk/dports/shells/fish
jmr at macports.org
jmr at macports.org
Mon Apr 23 09:45:06 PDT 2012
Revision: 92271
https://trac.macports.org/changeset/92271
Author: jmr at macports.org
Date: 2012-04-23 09:45:06 -0700 (Mon, 23 Apr 2012)
Log Message:
-----------
fish: fix occasional blocking for 5 seconds (#29839)
Modified Paths:
--------------
trunk/dports/shells/fish/Portfile
Added Paths:
-----------
trunk/dports/shells/fish/files/patch-fix-freeze.diff
Modified: trunk/dports/shells/fish/Portfile
===================================================================
--- trunk/dports/shells/fish/Portfile 2012-04-23 16:05:21 UTC (rev 92270)
+++ trunk/dports/shells/fish/Portfile 2012-04-23 16:45:06 UTC (rev 92271)
@@ -5,6 +5,7 @@
name fish
version 1.23.1
+revision 1
categories shells
platforms darwin
maintainers nomaintainer
@@ -33,6 +34,8 @@
configure.args --mandir=${prefix}/share/man \
--without-xsel
+# ticket #29839
+patchfiles patch-fix-freeze.diff
platform darwin {
# there's something wonky about the libiconv headers installed by
Added: trunk/dports/shells/fish/files/patch-fix-freeze.diff
===================================================================
--- trunk/dports/shells/fish/files/patch-fix-freeze.diff (rev 0)
+++ trunk/dports/shells/fish/files/patch-fix-freeze.diff 2012-04-23 16:45:06 UTC (rev 92271)
@@ -0,0 +1,13 @@
+--- proc.c.orig 2011-06-15 17:10:33.000000000 -0300
++++ proc.c 2011-06-15 17:10:43.000000000 -0300
+@@ -822,8 +822,8 @@
+ int retval;
+ struct timeval tv;
+
+- tv.tv_sec=5;
+- tv.tv_usec=0;
++ tv.tv_sec=0;
++ tv.tv_usec=10000;
+
+ retval =select( maxfd+1, &fds, 0, 0, &tv );
+ return retval > 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120423/20d112a5/attachment.html>
More information about the macports-changes
mailing list