From 0d47340150e7ac7c19b9dc8fbc0ca12b9549c2a0 Mon Sep 17 00:00:00 2001 From: Morgan Thomas Date: Sun, 25 Apr 2021 09:25:46 -0700 Subject: [PATCH] nodejs: use system libuv See https://github.com/void-linux/void-packages/issues/29034. `shared-uv.patch` has been in the repo for a while but was slightly broken. --- srcpkgs/nodejs/{ => patches}/shared-uv.patch | 2 +- srcpkgs/nodejs/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename srcpkgs/nodejs/{ => patches}/shared-uv.patch (97%) diff --git a/srcpkgs/nodejs/shared-uv.patch b/srcpkgs/nodejs/patches/shared-uv.patch similarity index 97% rename from srcpkgs/nodejs/shared-uv.patch rename to srcpkgs/nodejs/patches/shared-uv.patch index 128e3a5ce06..3e609a6c49a 100644 --- a/srcpkgs/nodejs/shared-uv.patch +++ b/srcpkgs/nodejs/patches/shared-uv.patch @@ -16,7 +16,7 @@ }], + [ 'node_shared_libuv=="false"', { + 'dependencies': [ '../uv/uv.gyp:libuv' ], -+ }] ++ }], + [ 'node_shared_libuv=="true"', { + 'libraries': [ '-luv' ], + }] diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 450b59bbc7d..bcfaaa73ac4 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -1,7 +1,7 @@ # Template file for 'nodejs' pkgname=nodejs version=14.16.0 -revision=1 +revision=2 wrksrc="node-v${version}" # Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079 hostmakedepends="which pkg-config python3 libatomic-devel zlib-devel