|
17 | 17 | # Brotli-compressed binary data must be output as byte arrays, not string literals. |
18 | 18 | # |
19 | 19 | # PATCH CREATION PROCESS: |
20 | | -# This patch was created using git diff against POST-yao-pkg Node.js v24.10.0 source. |
| 20 | +# This patch was created using git diff against pristine Node.js v24.10.0 source. |
21 | 21 | # Steps: |
22 | 22 | # 1. Clone Node.js v24.10.0 |
23 | | -# 2. Apply yao-pkg patches: patch -p1 < node.v24.10.0.cpp.patch |
24 | | -# 3. Modify node.gyp to: |
| 23 | +# 2. Modify node.gyp to: |
25 | 24 | # - Add socket_brotli2c target |
26 | 25 | # - Add socket_brotli2c_exec variable |
27 | 26 | # - Modify node_js2c action to use socket_brotli2c_exec |
28 | | -# 4. Generate patch with: git add node.gyp && git diff --cached |
29 | | -# 5. Validate with: git reset --hard && patch -p1 --dry-run < patch-file |
30 | | -# |
31 | | -# CRITICAL: This patch MUST be applied AFTER yao-pkg patches, not to pristine source! |
| 27 | +# 3. Generate patch with: git add node.gyp && git diff --cached |
| 28 | +# 4. Validate with: git reset --hard && patch -p1 --dry-run < patch-file |
32 | 29 | # |
33 | 30 | diff --git a/node.gyp b/node.gyp |
34 | | -index 420d5713..8e9a2c1f 100644 |
| 31 | +index 420d5713..a9e77596 100644 |
35 | 32 | --- a/node.gyp |
36 | 33 | +++ b/node.gyp |
37 | | -@@ -433,6 +433,7 @@ |
| 34 | +@@ -434,6 +434,7 @@ |
38 | 35 | ], |
39 | 36 | 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', |
40 | 37 | 'node_js2c_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_js2c<(EXECUTABLE_SUFFIX)', |
41 | 38 | + 'socket_brotli2c_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)socket_brotli2c<(EXECUTABLE_SUFFIX)', |
42 | 39 | 'conditions': [ |
43 | 40 | ['GENERATOR == "ninja"', { |
44 | 41 | 'node_text_start_object_path': 'src/large_pages/node_text_start.node_text_start.o' |
45 | | -@@ -1023,10 +1024,10 @@ |
46 | | - ], |
47 | | - 'actions': [ |
48 | | - { |
| 42 | +@@ -1026,7 +1027,7 @@ |
49 | 43 | 'action_name': 'node_js2c', |
50 | 44 | 'process_outputs_as_sources': 1, |
51 | 45 | 'inputs': [ |
|
0 commit comments