diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 20:56:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 20:56:20 +0000 |
commit | 868522aa377a4519adb0b9f402586ab7a41b86ba (patch) | |
tree | 44e805e154a3ace9bd8dbac73843e80d296b7814 /debian/patches/replace-npm-run.patch | |
parent | Adding upstream version 5.28.2+dfsg1+~cs23.11.12.3. (diff) | |
download | node-undici-debian.tar.xz node-undici-debian.zip |
Adding debian version 5.28.2+dfsg1+~cs23.11.12.3-6.debian/5.28.2+dfsg1+_cs23.11.12.3-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/replace-npm-run.patch')
-rw-r--r-- | debian/patches/replace-npm-run.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/replace-npm-run.patch b/debian/patches/replace-npm-run.patch new file mode 100644 index 0000000..819cf45 --- /dev/null +++ b/debian/patches/replace-npm-run.patch @@ -0,0 +1,25 @@ +Description: replace "npm run" by pkgjs-run +Author: Yadd <yadd@debian.org> +Forwarded: not-needed +Last-Update: 2023-02-17 + +--- a/llhttp/bin/build_wasm.ts ++++ b/llhttp/bin/build_wasm.ts +@@ -43,7 +43,7 @@ + // @ts-ignore + cmd += ` --user ${process.getuid()}:${process.getegid()}`; + } +- cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder npm run wasm`; ++ cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder pkgjs-run wasm`; + + /* tslint:disable-next-line no-console */ + console.log(`> ${cmd}\n\n`); +@@ -61,7 +61,7 @@ + } + + // Build ts +-execSync('npm run build', { cwd: WASM_SRC, stdio: 'inherit' }); ++execSync('pkgjs-run build', { cwd: WASM_SRC, stdio: 'inherit' }); + + // Build wasm binary + execSync( |