summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_features.cc
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2024-08-01 17:55:20 +0200
committerRobert Nagy <rnagy@FreeBSD.org>2024-08-01 17:56:09 +0200
commit9c1cbfaa288ed45416b2472446149aee3e554396 (patch)
tree2a3a126ed973aee9d9cc5347c692505da84abcc3 /www/iridium/files/patch-base_features.cc
parenttextproc/py-pygments: Update to 2.18.0 (diff)
www/iridium: update to 2024.07.127.1
This update also removes the --audio-backend command line switch in favor of an actual setting in the browser that can be changed at chrome://flags/#audio-backend
Diffstat (limited to 'www/iridium/files/patch-base_features.cc')
-rw-r--r--www/iridium/files/patch-base_features.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/iridium/files/patch-base_features.cc b/www/iridium/files/patch-base_features.cc
index 37e9e3972b81..7ce5ee9f8e85 100644
--- a/www/iridium/files/patch-base_features.cc
+++ b/www/iridium/files/patch-base_features.cc
@@ -1,20 +1,27 @@
---- base/features.cc.orig 2024-06-25 12:08:48 UTC
+--- base/features.cc.orig 2024-08-01 05:47:53 UTC
+++ base/features.cc
-@@ -9,7 +9,7 @@
+@@ -9,8 +9,10 @@
#include "base/threading/platform_thread.h"
#include "build/buildflag.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
+ #include "base/message_loop/message_pump_epoll.h"
++#endif
#include "base/message_loop/message_pump_libevent.h"
#endif
-@@ -98,7 +98,7 @@ void Init(EmitThreadControllerProfilerMetadata
+@@ -97,9 +99,11 @@ void Init(EmitThreadControllerProfilerMetadata
sequence_manager::internal::ThreadController::InitializeFeatures(
emit_thread_controller_profiler_metadata);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
MessagePumpLibevent::InitializeFeatures();
++#if !BUILDFLAG(IS_BSD)
+ MessagePumpEpoll::InitializeFeatures();
++#endif
#endif
+ #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_CHROMEOS)