$NetBSD: patch-chrome_browser_first__run_first__run.h,v 1.4 2026/05/10 15:29:50 kikadf Exp $

* Part of patchset to build chromium on NetBSD
* Based on OpenBSD's chromium patches, and
  pkgsrc's qt5-qtwebengine patches

--- chrome/browser/first_run/first_run.h.orig	2026-04-28 23:05:57.000000000 +0200
+++ chrome/browser/first_run/first_run.h
@@ -73,7 +73,7 @@ struct MasterPrefs {
 #if BUILDFLAG(IS_MAC)
   bool confirm_to_quit;
 #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   bool eula_required = false;
 #endif
 };
@@ -145,7 +145,7 @@ ProcessInitialPreferencesResult ProcessI
     std::unique_ptr<installer::InitialPreferences> initial_prefs,
     MasterPrefs* out_prefs);
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 // Shows the EULA dialog if required. Returns true if the EULA is accepted
 // or not required. Returns false if the EULA has not been accepted. If the EULA
 // has not been accepted, the caller should exit promptly.
