diff options
Diffstat (limited to 'meta-pkgs/boost/patches/patch-boost_regex_config.hpp')
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_regex_config.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-pkgs/boost/patches/patch-boost_regex_config.hpp b/meta-pkgs/boost/patches/patch-boost_regex_config.hpp new file mode 100644 index 00000000000..82ecfb1a49f --- /dev/null +++ b/meta-pkgs/boost/patches/patch-boost_regex_config.hpp @@ -0,0 +1,15 @@ +$NetBSD: patch-boost_regex_config.hpp,v 1.1 2014/05/13 18:48:49 ryoon Exp $ + +* Fix OpenBSD build + +--- boost/regex/config.hpp.orig 2012-07-16 08:38:23.000000000 +0000 ++++ boost/regex/config.hpp +@@ -75,7 +75,7 @@ + * std::use_facet<std::ctype<wchar_t> >.is(std::ctype_base::lower|std::ctype_base::upper, L'a'); + * returns *false*. + */ +-#ifdef __GLIBCPP__ ++#if defined(__GLIBCPP__) && !defined(__OpenBSD__) + # define BOOST_REGEX_BUGGY_CTYPE_FACET + #endif + |