| 1 | $OpenBSD: patch-libs_filesystem_src_path_cpp,v 1.3 2015/07/01 08:41:59 jasper Exp $ | 
|---|
| 2 |  | 
|---|
| 3 | Fix "std::runtime_error: locale::facet::_S_create_c_locale name not valid" | 
|---|
| 4 | error on OpenBSD when using non-C locales. | 
|---|
| 5 |  | 
|---|
| 6 | --- libs/filesystem/src/path.cpp.orig   Fri Jun 26 11:39:27 2015 | 
|---|
| 7 | +++ libs/filesystem/src/path.cpp        Fri Jun 26 11:40:36 2015 | 
|---|
| 8 | @@ -36,7 +36,7 @@ | 
|---|
| 9 | # include "windows_file_codecvt.hpp" | 
|---|
| 10 | # include <windows.h> | 
|---|
| 11 | #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) \ | 
|---|
| 12 | - || defined(__FreeBSD__) || defined(__OPEN_BSD__) || defined(__HAIKU__) | 
|---|
| 13 | + || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__) | 
|---|
| 14 | # include <boost/filesystem/detail/utf8_codecvt_facet.hpp> | 
|---|
| 15 | #endif | 
|---|
| 16 |  | 
|---|