summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_features.cc
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2024-06-26 08:11:27 +0200
committerRobert Nagy <rnagy@FreeBSD.org>2024-06-26 17:34:47 +0200
commitb313ad21d659165dbf7eda701b81d5bf413ad752 (patch)
tree2e5e02a358bbb3e2e4439e7528bf7f5e59caa0db /www/iridium/files/patch-base_features.cc
parentscience/py-qcengine: update 0.29.0 → 0.30.0 (diff)
www/iridium: update to 2024.06.126.2
Diffstat (limited to 'www/iridium/files/patch-base_features.cc')
-rw-r--r--www/iridium/files/patch-base_features.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-base_features.cc b/www/iridium/files/patch-base_features.cc
new file mode 100644
index 000000000000..37e9e3972b81
--- /dev/null
+++ b/www/iridium/files/patch-base_features.cc
@@ -0,0 +1,20 @@
+--- base/features.cc.orig 2024-06-25 12:08:48 UTC
++++ base/features.cc
+@@ -9,7 +9,7 @@
+ #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)
+ #include "base/message_loop/message_pump_libevent.h"
+ #endif
+
+@@ -98,7 +98,7 @@ 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();
+ #endif
+