reinstate the policies patch, ok robert@

This commit is contained in:
sthen 2021-08-19 10:20:12 +00:00
parent ab13cd15ed
commit 8590ece1e0
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.580 2021/08/17 11:19:04 robert Exp $
# $OpenBSD: Makefile,v 1.581 2021/08/19 10:20:12 sthen Exp $
BROKEN-powerpc64 = Check failed: false. OS architecture not handled. (powerpc64)
BROKEN-i386 = ../../third_party/angle/src/libANGLE/validationEGL.h:137:12: error: reference to type 'const egl::AttributeMap' could not bind to an lvalue of type 'const long *'
@ -15,6 +15,7 @@ DPB_PROPERTIES= parallel parallel2
COMMENT= Chromium browser
V= 92.0.4515.159
REVISION= 0
DISTNAME= chromium-${V}

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-chrome_common_chrome_paths_cc,v 1.61 2021/07/21 15:43:32 robert Exp $
$OpenBSD: patch-chrome_common_chrome_paths_cc,v 1.62 2021/08/19 10:20:12 sthen Exp $
Index: chrome/common/chrome_paths.cc
--- chrome/common/chrome_paths.cc.orig
@ -30,6 +30,15 @@ Index: chrome/common/chrome_paths.cc
if (!GetUserDownloadsDirectorySafe(&cur))
return false;
break;
@@ -412,7 +412,7 @@ bool PathProvider(int key, base::FilePath* result) {
if (!base::PathExists(cur)) // We don't want to create this
return false;
break;
-#if defined(OS_POSIX) && !defined(OS_MAC) && !defined(OS_OPENBSD)
+#if defined(OS_POSIX) && !defined(OS_MAC)
case chrome::DIR_POLICY_FILES: {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
cur = base::FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
@@ -425,7 +425,7 @@ bool PathProvider(int key, base::FilePath* result) {
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.