$OpenBSD: patch-unicode_hpp,v 1.2 2011/01/11 18:23:14 miod Exp $
--- unicode.hpp.orig	Fri Nov 26 07:20:01 2010
+++ unicode.hpp	Sun Jan  9 18:59:44 2011
@@ -29,6 +29,8 @@ int uni_done();
 // Borland C++ Builder 5 uses the old style swprintf without the buffer size,
 // so we replace it with snwprintf in our custom sprintfw definition.
 #define sprintfw snwprintf
+#elif defined (__OpenBSD__)
+inline int sprintfw(wchar *s, ...) { *s = '\0'; return 1; }
 #else
 #define sprintfw swprintf
 #endif
