build: use our patch system to apply patches to upstream node (#19270)
This points our node repo at upstream (nodejs/node) and uses the base node tag as the target ref. We then use our existing patch system and patch files to apply our changes on top of node. This unifies how we patch upstream repos and makes our node patches easier to reason, view, understand and most importantly reduce.
This commit is contained in:
parent
4d547bdd3a
commit
9a7426dc25
57 changed files with 5056 additions and 3 deletions
24
patches/node/fixme_comment_trace_event_macro.patch
Normal file
24
patches/node/fixme_comment_trace_event_macro.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nitish Sakhawalkar <nitsakh@icloud.com>
|
||||
Date: Tue, 26 Mar 2019 11:28:05 -0700
|
||||
Subject: fixme: Comment trace event macro
|
||||
|
||||
|
||||
diff --git a/src/node_internals.h b/src/node_internals.h
|
||||
index 9811c02d5438cd7008d3990f89b7161355e87cfc..3a92c530b1dd262fd12893ac35e6d229594f0792 100644
|
||||
--- a/src/node_internals.h
|
||||
+++ b/src/node_internals.h
|
||||
@@ -348,10 +348,11 @@ class TraceEventScope {
|
||||
TraceEventScope(const char* category,
|
||||
const char* name,
|
||||
void* id) : category_(category), name_(name), id_(id) {
|
||||
- TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_);
|
||||
+ // TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_);
|
||||
+ (void) category_; (void)name_; (void)id_;
|
||||
}
|
||||
~TraceEventScope() {
|
||||
- TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_);
|
||||
+ // TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_);
|
||||
}
|
||||
|
||||
private:
|
Loading…
Add table
Add a link
Reference in a new issue