svn commit: r327543 - head/editors/fxite/files

Pietro Cerutti gahr at FreeBSD.org
Wed Sep 18 13:09:44 UTC 2013


Author: gahr
Date: Wed Sep 18 13:09:44 2013
New Revision: 327543
URL: http://svnweb.freebsd.org/changeset/ports/327543

Log:
  - Fix build with upcoming FOX 1.7.42

Added:
  head/editors/fxite/files/patch-fxsleep   (contents, props changed)

Added: head/editors/fxite/files/patch-fxsleep
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/fxite/files/patch-fxsleep	Wed Sep 18 13:09:44 2013	(r327543)
@@ -0,0 +1,15 @@
+--- src/luafuncs.cpp.orig	2013-09-18 14:19:18.000000000 +0200
++++ src/luafuncs.cpp	2013-09-18 14:19:36.000000000 +0200
+@@ -942,10 +942,10 @@
+   ms=ms%1000;
+   for (int i=0; i<secs; i++) { // Just sleep for one second at a time, to give user a chance to cancel
+     if (!breathe(L)) { return 0; }
+-    fxsleep(1000000);
++    FXThread::sleep(1000000);
+   }
+   if (!breathe(L)) { return 0; }
+-  fxsleep(ms*1000);
++  FXThread::sleep(ms*1000);
+   return 0;
+ }
+ 


More information about the svn-ports-all mailing list