openbsd-ports/net/synergy/patches/patch-lib_arch_CMultibyte_cpp
pvalchev ab8e840802 Unbreak synergy after the X11 Xlib -> XCB switch, which
caused multi-second pauses for each event rendering it useless,
due to queueing in xcb buffers not triggering X file descriptor
changes.
Patch from http://bugs.gentoo.org/show_bug.cgi?id=257794

OK & hint in the right direction from maintainer dim@ :)
2009-09-03 18:05:35 +00:00

13 lines
405 B
Plaintext

$OpenBSD: patch-lib_arch_CMultibyte_cpp,v 1.2 2009/09/03 18:05:36 pvalchev Exp $
--- lib/arch/CMultibyte.cpp.orig Tue Nov 29 20:33:24 2005
+++ lib/arch/CMultibyte.cpp Wed Sep 2 14:18:01 2009
@@ -24,7 +24,7 @@
#endif
#if HAVE_WCHAR_H || defined(_MSC_VER)
# include <wchar.h>
-#elif __APPLE__
+#elif __APPLE__ || __OpenBSD__
// wtf? Darwin puts mbtowc() et al. in stdlib
# include <stdlib.h>
#else