diff --git a/nodejs18.changes b/nodejs18.changes index a83df30..5004f64 100644 --- a/nodejs18.changes +++ b/nodejs18.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 12 08:14:29 UTC 2022 - Adam Majer + +- qemu_timeouts_arches.patch: set timeouts on riscv5 to 7x normal + ------------------------------------------------------------------- Fri Oct 7 08:05:59 UTC 2022 - Dirk Müller diff --git a/nodejs18.spec b/nodejs18.spec index f2bdafd..a09c421 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -171,6 +171,7 @@ Patch133: rsa-pss-revert.patch Patch200: versioned.patch Patch304: new_python3.patch +Patch305: qemu_timeouts_arches.patch BuildRequires: pkg-config BuildRequires: fdupes @@ -666,6 +667,7 @@ tar Jxf %{SOURCE11} %patch200 -p1 %patch304 -p1 +%patch305 -p1 %if %{node_version_number} <= 12 # minimist security update - patch50 diff --git a/qemu_timeouts_arches.patch b/qemu_timeouts_arches.patch new file mode 100644 index 0000000..e818129 --- /dev/null +++ b/qemu_timeouts_arches.patch @@ -0,0 +1,14 @@ +Index: node-v18.10.0/test/common/index.js +=================================================================== +--- node-v18.10.0.orig/test/common/index.js ++++ node-v18.10.0/test/common/index.js +@@ -260,6 +260,9 @@ function platformTimeout(ms) { + if (isPi) + return multipliers.two * ms; // Raspberry Pi devices + ++ if (process.arch === 'riscv64') // usermode qemu slow ++ return multipliers.seven * ms; ++ + return ms; + } +