Add an i686 string as well on i386 now that chromium is re-enabled on i386 builds
This commit is contained in:
parent
96e66a015f
commit
3fa0fd4915
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.354 2017/12/16 15:34:39 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.355 2017/12/17 13:16:28 robert Exp $
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
|
||||
@ -9,6 +9,7 @@ DPB_PROPERTIES= parallel
|
||||
COMMENT= Chromium browser
|
||||
|
||||
V= 63.0.3239.108
|
||||
REVISION= 0
|
||||
|
||||
DISTNAME= chromium-${V}
|
||||
|
||||
|
@ -1,16 +1,20 @@
|
||||
$OpenBSD: patch-content_common_user_agent_cc,v 1.1 2017/12/07 11:12:05 robert Exp $
|
||||
$OpenBSD: patch-content_common_user_agent_cc,v 1.2 2017/12/17 13:16:28 robert Exp $
|
||||
|
||||
Append Linux x86_64 to the user agent because we have to lie ...
|
||||
|
||||
Index: content/common/user_agent.cc
|
||||
--- content/common/user_agent.cc.orig
|
||||
+++ content/common/user_agent.cc
|
||||
@@ -131,6 +131,10 @@ std::string BuildOSCpuInfo() {
|
||||
@@ -131,6 +131,14 @@ std::string BuildOSCpuInfo() {
|
||||
#endif
|
||||
); // NOLINT
|
||||
|
||||
+#if defined(OS_OPENBSD)
|
||||
+#if defined(__x86_64__)
|
||||
+ base::StringAppendF(&os_cpu, "; Linux x86_64");
|
||||
+#else
|
||||
+ base::StringAppendF(&os_cpu, "; Linux i686");
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
return os_cpu;
|
||||
|
Loading…
Reference in New Issue
Block a user