mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
16 lines
771 B
C++
16 lines
771 B
C++
--- base/trace_event/trace_log.cc.orig 2023-11-29 21:39:40 UTC
|
|
+++ base/trace_event/trace_log.cc
|
|
@@ -2191,8 +2191,13 @@ void TraceLog::OnSetup(const perfetto::DataSourceBase:
|
|
#if BUILDFLAG(USE_PERFETTO_CLIENT_LIBRARY)
|
|
void TraceLog::OnSetup(const perfetto::DataSourceBase::SetupArgs& args) {
|
|
AutoLock lock(track_event_lock_);
|
|
+#if defined(__clang__) && (__clang_major__ >= 16)
|
|
track_event_sessions_.emplace_back(args.internal_instance_index, *args.config,
|
|
args.backend_type);
|
|
+#else
|
|
+ track_event_sessions_.emplace_back(TrackEventSession{args.internal_instance_index, *args.config,
|
|
+ args.backend_type});
|
|
+#endif
|
|
}
|
|
|
|
void TraceLog::OnStart(const perfetto::DataSourceBase::StartArgs&) {
|