Differential D18757 Diff 52594 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__unittest.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__unittest.cc
--- src/3rdparty/chromium/base/files/file_path_unittest.cc.orig 2017-01-26 00:49:07 UTC | --- src/3rdparty/chromium/base/files/file_path_unittest.cc.orig 2018-11-13 18:25:11 UTC | ||||
+++ src/3rdparty/chromium/base/files/file_path_unittest.cc | +++ src/3rdparty/chromium/base/files/file_path_unittest.cc | ||||
@@ -1133,7 +1133,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_ | @@ -1136,7 +1136,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_AsUTF8Unsafe) | ||||
"\xEF\xBC\xA1\xEF\xBC\xA2\xEF\xBC\xA3.txt" }, | "\xEF\xBC\xA1\xEF\xBC\xA2\xEF\xBC\xA3.txt" }, | ||||
}; | }; | ||||
-#if !defined(SYSTEM_NATIVE_UTF8) && defined(OS_LINUX) | -#if !defined(SYSTEM_NATIVE_UTF8) && defined(OS_LINUX) | ||||
+#if !defined(SYSTEM_NATIVE_UTF8) && (defined(OS_LINUX) || defined(OS_BSD)) | +#if !defined(SYSTEM_NATIVE_UTF8) && (defined(OS_LINUX) || defined(OS_BSD)) | ||||
ScopedLocale locale("en_US.UTF-8"); | ScopedLocale locale("en_US.UTF-8"); | ||||
#endif | #endif | ||||