SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,27 @@
Index: chrome/test/chromedriver/capabilities.cc
--- chrome/test/chromedriver/capabilities.cc.orig
+++ chrome/test/chromedriver/capabilities.cc
@@ -355,7 +355,11 @@ Status ParseMobileEmulation(const base::Value& option,
"'version' field of type string");
}
+#if defined(__clang__) && (__clang_major__ >= 15)
brands.emplace_back(*brand, *version);
+#else
+ brands.emplace_back(BrandVersion{*brand, *version});
+#endif
}
client_hints.brands = std::move(brands);
@@ -392,7 +396,11 @@ Status ParseMobileEmulation(const base::Value& option,
"a 'version' field of type string");
}
+#if defined(__clang__) && (__clang_major__ >= 15)
full_version_list.emplace_back(*brand, *version);
+#else
+ full_version_list.emplace_back(BrandVersion{*brand, *version});
+#endif
}
client_hints.full_version_list = std::move(full_version_list);