diff options
author | gahr <gahr@FreeBSD.org> | 2013-09-18 21:09:44 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-09-18 21:09:44 +0800 |
commit | a213131ed8a9fe50316f80ee707a10272b579cc5 (patch) | |
tree | 6f880984c140a5508b25fd09aa0c6206f9b948cd /editors | |
parent | 6e3048730d52275789d955208d3971a884ec1512 (diff) | |
download | freebsd-ports-gnome-a213131ed8a9fe50316f80ee707a10272b579cc5.tar.gz freebsd-ports-gnome-a213131ed8a9fe50316f80ee707a10272b579cc5.tar.zst freebsd-ports-gnome-a213131ed8a9fe50316f80ee707a10272b579cc5.zip |
- Fix build with upcoming FOX 1.7.42
Diffstat (limited to 'editors')
-rw-r--r-- | editors/fxite/files/patch-fxsleep | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-fxsleep b/editors/fxite/files/patch-fxsleep new file mode 100644 index 000000000000..1e67f061041d --- /dev/null +++ b/editors/fxite/files/patch-fxsleep @@ -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; + } + |