pkgsrc/meta-pkgs/boost/patches/patch-boost_regex_config.hpp
ryoon 1484896e13 Fix build of boost-libs under OpenBSD/amd64 5.5
* Add iconv dependency (fix build)
* Add the patches for OpenBSD
* gcc46 is required under OpenBSD 5.5 at least
2014-05-13 18:48:49 +00:00

15 lines
457 B
C++

$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