[74723] trunk/dports/devel/gwenhywfar4

mk at macports.org mk at macports.org
Thu Dec 30 11:43:28 PST 2010


Revision: 74723
          http://trac.macports.org/changeset/74723
Author:   mk at macports.org
Date:     2010-12-30 11:43:21 -0800 (Thu, 30 Dec 2010)
Log Message:
-----------
gwenhywfar4: remove now unnecessary sleep(1) since code is now synchronous

Modified Paths:
--------------
    trunk/dports/devel/gwenhywfar4/Portfile

Added Paths:
-----------
    trunk/dports/devel/gwenhywfar4/files/patch_remove_sleep.diff

Modified: trunk/dports/devel/gwenhywfar4/Portfile
===================================================================
--- trunk/dports/devel/gwenhywfar4/Portfile	2010-12-30 17:57:54 UTC (rev 74722)
+++ trunk/dports/devel/gwenhywfar4/Portfile	2010-12-30 19:43:21 UTC (rev 74723)
@@ -4,7 +4,7 @@
 
 name              gwenhywfar4
 version           4.0.2
-revision          1
+revision          2
 
 # this is specific to this port and *version* for downloading it
 set release       55
@@ -43,7 +43,8 @@
                   --with-guis=qt4 \
                   --enable-static
 
-patchfiles        patch-qt4-configure.diff
+patchfiles        patch-qt4-configure.diff \
+                  patch_remove_sleep.diff
 
 patch.dir         ${workpath}/${distname}
 patch.pre_args    -p1

Added: trunk/dports/devel/gwenhywfar4/files/patch_remove_sleep.diff
===================================================================
--- trunk/dports/devel/gwenhywfar4/files/patch_remove_sleep.diff	                        (rev 0)
+++ trunk/dports/devel/gwenhywfar4/files/patch_remove_sleep.diff	2010-12-30 19:43:21 UTC (rev 74723)
@@ -0,0 +1,11 @@
+--- gwenhywfar-4.0.2/src/os/posix/inetsocket.c.old	2010-12-30 20:32:47.000000000 +0100
++++ gwenhywfar-4.0.2/src/os/posix/inetsocket.c	2010-12-30 20:29:35.000000000 +0100
+@@ -525,7 +525,7 @@
+   /* this is just a temporary ugly hack for OS X, this has to be investigated
+    * further */
+   if (sp->haveWaited==0) {
+-    sleep(1);
++//    sleep(1);
+     sp->haveWaited=1;
+   }
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101230/fce69a2d/attachment.html>


More information about the macports-changes mailing list