Skip to content

Commit

Permalink
firefox: patch for NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmarino committed Aug 7, 2024
1 parent 3874e6b commit ed0f65b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bucket_AC/firefox/patches/patch-tools_profiler_core_platform.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- tools/profiler/core/platform.cpp.orig 2024-07-04 17:04:30 UTC
+++ tools/profiler/core/platform.cpp
@@ -7311,7 +7311,7 @@ void profiler_mark_thread_awake() {
cpuId = ebx >> 24;
}
# endif
-#else
+#elsif !defined(__MidnightBSD__)
cpuId = sched_getcpu();
#endif

0 comments on commit ed0f65b

Please sign in to comment.