From bb15ed6e88330b1175c967221a60de0ed038db04 Mon Sep 17 00:00:00 2001 From: Igor Klopov Date: Mon, 24 Jul 2017 19:34:15 +0300 Subject: [PATCH] v7.10.1, v6.11.1 and v4.8.4 as lowPriority --- lib/build.js | 1 + patches/patches.json | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/lib/build.js b/lib/build.js index be6b9b7..26bf7a1 100644 --- a/lib/build.js +++ b/lib/build.js @@ -39,6 +39,7 @@ async function applyPatches (nodeVersion) { log.info('Applying patches'); let patches = patchesJson[nodeVersion]; patches = patches.patches || patches; + if (patches.sameAs) patches = patchesJson[patches.sameAs]; for (const patch of patches) { const patchPath = path.join(patchesPath, patch); const args = [ '-p1', '-i', patchPath ]; diff --git a/patches/patches.json b/patches/patches.json index 62b4f9e..3af7f36 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -8,12 +8,30 @@ "v8.0.0": [ "node.v8.0.0.patch" ], + "v7.10.1": { + "lowPriority": true, + "patches": { + "sameAs": "v7.10.0" + } + }, "v7.10.0": [ "node.v7.10.0.patch" ], + "v6.11.1": { + "lowPriority": true, + "patches": { + "sameAs": "v6.10.3" + } + }, "v6.10.3": [ "node.v6.10.3.patch" ], + "v4.8.4": { + "lowPriority": true, + "patches": { + "sameAs": "v4.8.3" + } + }, "v4.8.3": [ "backport.R32768.patch", "backport.PR4777.for.N4.patch",