$OpenBSD: patch-common_charset_localeutil_cpp,v 1.2 2015/04/05 22:25:08 robert Exp $
--- common/charset/localeutil.cpp.orig	Thu Mar  5 16:54:04 2015
+++ common/charset/localeutil.cpp	Sun Apr  5 16:20:07 2015
@@ -47,6 +47,7 @@
 #include <iostream>
 #include <string.h>
 
+#ifndef __OpenBSD__
 locale_t createUTF8Locale()
 {
 	locale_t loc;
@@ -81,6 +82,7 @@ exit:
 
 	return loc;
 }
+#endif /* !OpenBSD */
 
 /**
  * Initializes the locale to the current language, forced in UTF-8.
