aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2003-11-12 07:06:34 +0000
committerKevin Lo <kevlo@FreeBSD.org>2003-11-12 07:06:34 +0000
commitc81ac32f3ae47dac9603c8bb1cf476a483f628c7 (patch)
tree5c219fce8c008cee4bf0cefe8c81e8a9dd56433d
parentfb02a51261b2b7475561e9871d81e735de5ca903 (diff)
downloadports-c81ac32f3ae47dac9603c8bb1cf476a483f628c7.tar.gz
ports-c81ac32f3ae47dac9603c8bb1cf476a483f628c7.zip
Notes
-rw-r--r--sysutils/synergy/files/patch-CXWindowsScreen.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/synergy/files/patch-CXWindowsScreen.cpp b/sysutils/synergy/files/patch-CXWindowsScreen.cpp
new file mode 100644
index 000000000000..713ac6fe6e01
--- /dev/null
+++ b/sysutils/synergy/files/patch-CXWindowsScreen.cpp
@@ -0,0 +1,11 @@
+--- lib/platform/CXWindowsScreen.cpp.orig Sun Jul 20 09:21:19 2003
++++ lib/platform/CXWindowsScreen.cpp Fri Oct 17 14:28:26 2003
+@@ -293,7 +293,7 @@
+ }
+ }
+ #if HAVE_POLL
+- int timeout = static_cast<int>(1000.0 * dtimeout);
++ int timeout = (dtimeout < 0) ? -1 : static_cast<int>(1000.0 * dtimeout);
+ #else
+ struct timeval timeout;
+ struct timeval* timeoutPtr;