openbsd-ports/devel/boost/patches/patch-boost_regex_config_hpp
bernd 109403012c Update to boost-1.34.1.
Initial diff from Mikko Tolmunen. Thank you!
Some corrections from brad@.

Tested by deanna@, naddy@, brad@ and myself.

ok deanna@, brad@
2008-04-03 07:44:39 +00:00

13 lines
450 B
Plaintext

$OpenBSD: patch-boost_regex_config_hpp,v 1.1 2008/04/03 07:44:40 bernd Exp $
--- boost/regex/config.hpp.orig Wed Mar 26 19:36:57 2008
+++ boost/regex/config.hpp Wed Mar 26 19:37:27 2008
@@ -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