$OpenBSD: patch-boost_config_platform_bsd_hpp,v 1.1 2017/12/26 19:18:49 rsadowski Exp $

Index: boost/config/platform/bsd.hpp
--- boost/config/platform/bsd.hpp.orig
+++ boost/config/platform/bsd.hpp
@@ -56,13 +56,13 @@
 #endif
 
 #if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
-      || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__))
+      || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__OpenBSD__))
 #  define BOOST_NO_CWCHAR
 #endif
 //
 // The BSD <ctype.h> has macros only, no functions:
 //
-#if !defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(__DragonFly__)
 #  define BOOST_NO_CTYPE_FUNCTIONS
 #endif
 
