[86768] trunk/dports/science/opendx
ryandesign at macports.org
ryandesign at macports.org
Thu Nov 3 04:32:05 PDT 2011
Revision: 86768
http://trac.macports.org/changeset/86768
Author: ryandesign at macports.org
Date: 2011-11-03 04:32:02 -0700 (Thu, 03 Nov 2011)
Log Message:
-----------
opendx: fix "Format error (1) encountered"; see #31730 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/science/opendx/Portfile
Added Paths:
-----------
trunk/dports/science/opendx/files/patch-src-exec-dpexec-packet.c.diff
Modified: trunk/dports/science/opendx/Portfile
===================================================================
--- trunk/dports/science/opendx/Portfile 2011-11-03 10:27:54 UTC (rev 86767)
+++ trunk/dports/science/opendx/Portfile 2011-11-03 11:32:02 UTC (rev 86768)
@@ -4,7 +4,7 @@
name opendx
version 4.4.4
-revision 2
+revision 3
categories science
maintainers gwright
platforms darwin
@@ -37,6 +37,7 @@
universal_variant no
patchfiles configure.ac.diff \
+ patch-src-exec-dpexec-packet.c.diff \
patch-src-exec-dxmods-local.mk.in.diff
use_autoreconf yes
Added: trunk/dports/science/opendx/files/patch-src-exec-dpexec-packet.c.diff
===================================================================
--- trunk/dports/science/opendx/files/patch-src-exec-dpexec-packet.c.diff (rev 0)
+++ trunk/dports/science/opendx/files/patch-src-exec-dpexec-packet.c.diff 2011-11-03 11:32:02 UTC (rev 86768)
@@ -0,0 +1,11 @@
+http://www.opendx.org/bugs/view.php?id=251
+--- src/exec/dpexec/packet.c.orig 2006-04-27 10:34:53.000000000 -0500
++++ src/exec/dpexec/packet.c 2010-03-05 10:48:41.000000000 -0600
+@@ -143,6 +143,7 @@
+ {
+ if (sts > 0 && (!tmpbufferused || *tmpbufferused == 0))
+ {
++ sts=0; // MHM change in case IOCTL fails
+ if(SFILEIoctl(_dxd_exSockFD, FIONBIO, &one) >= 0)
+ sts = writeToSFILE(_dxd_exSockFD, packet, length);
+ SFILEIoctl(_dxd_exSockFD, FIONBIO, &zero);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111103/b7a3935e/attachment.html>
More information about the macports-changes
mailing list