diff options
Diffstat (limited to 'www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc')
-rw-r--r-- | www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc new file mode 100644 index 000000000000..275f0f3a64d3 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc @@ -0,0 +1,22 @@ +--- src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc.orig 2022-09-26 10:05:50 UTC ++++ src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc +@@ -22,7 +22,8 @@ + #if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) + #include <Windows.h> + #include <synchapi.h> +-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) + #include <sys/eventfd.h> + #include <unistd.h> +@@ -57,7 +58,8 @@ void EventFd::Clear() { + PERFETTO_DFATAL("EventFd::Clear()"); + } + +-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) + + EventFd::EventFd() { |