nodejs: update to 16.15.1.

This commit is contained in:
Michal Vasilek 2022-06-10 22:06:03 +02:00 committed by Echo
parent 6ccac45a35
commit 4f67be3c41

View file

@ -1,6 +1,6 @@
# Template file for 'nodejs'
pkgname=nodejs
version=16.14.0
version=16.15.1
revision=1
wrksrc="node-v${version}"
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
@ -15,8 +15,8 @@ short_desc="Evented I/O for V8 javascript"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=29dfce13650f063ff009d18349636333fa4305468b6a8965d442c2e88b1dd60f
distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.gz"
checksum=308aee7149c4092a53c87c28ef49e23a8d1606119e79ae68333062e2a1f94208
python_version=3
build_options="ssl libuv icu nghttp2 cares"
@ -42,17 +42,12 @@ fi
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*) broken="Node 12.x does not support 32-bit ppc" ;;
ppc*) broken="Node 16.x does not support 32-bit ppc" ;;
esac
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
post_patch() {
# XXX Drop after c-ares 1.17.3 has been released.
vsed -i -e 's:<ares_nameser.h>:<arpa/nameser.h>:g' src/cares_wrap.h
}
do_configure() {
local _args