Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc
--- src/3rdparty/chromium/components/update_client/update_query_params.cc.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/components/update_client/update_query_params.cc.orig 2019-05-23 14:39:34.000000000 +0200 | ||||
+++ src/3rdparty/chromium/components/update_client/update_query_params.cc | +++ src/3rdparty/chromium/components/update_client/update_query_params.cc 2019-10-29 02:42:47.135055000 +0100 | ||||
@@ -38,6 +38,8 @@ const char kOs[] = | @@ -38,6 +38,8 @@ | ||||
"fuchsia"; | "fuchsia"; | ||||
#elif defined(OS_OPENBSD) | #elif defined(OS_OPENBSD) | ||||
"openbsd"; | "openbsd"; | ||||
+#elif defined(OS_FREEBSD) | +#elif defined(OS_FREEBSD) | ||||
+ "freebsd"; | + "freebsd"; | ||||
#else | #else | ||||
#error "unknown os" | #error "unknown os" | ||||
#endif | #endif | ||||
@@ -55,6 +57,8 @@ | |||||
"mips64el"; | |||||
#elif defined(__mips__) | |||||
"mipsel"; | |||||
+#elif defined(__powerpc64__) | |||||
+ "ppc64"; | |||||
#else | |||||
#error "unknown arch" | |||||
#endif | |||||
@@ -127,6 +131,8 @@ | |||||
return "mips32"; | |||||
#elif defined(ARCH_CPU_MIPS64EL) | |||||
return "mips64"; | |||||
+#elif defined(ARCH_CPU_PPC64) | |||||
+ return "ppc64"; | |||||
#else | |||||
// NOTE: when adding new values here, please remember to update the | |||||
// comment in the .h file about possible return values from this function. |