aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h')
-rw-r--r--www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h b/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h
new file mode 100644
index 000000000000..0ec774154d21
--- /dev/null
+++ b/www/chromium/files/patch-third__party_perfetto_include_perfetto_base_event.h
@@ -0,0 +1,14 @@
+--- third_party/perfetto/include/perfetto/base/event.h.orig 2018-12-16 01:39:09.000000000 +0100
++++ third_party/perfetto/include/perfetto/base/event.h 2018-12-16 01:39:40.143826000 +0100
+@@ -20,8 +20,9 @@
+ #include "perfetto/base/build_config.h"
+ #include "perfetto/base/scoped_file.h"
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD)
+ #define PERFETTO_USE_EVENTFD() 1
+ #else
+ #define PERFETTO_USE_EVENTFD() 0