diff --git a/srcpkgs/libuv/template b/srcpkgs/libuv/template index c837059ea5812e..cd2edef65e6d81 100644 --- a/srcpkgs/libuv/template +++ b/srcpkgs/libuv/template @@ -1,6 +1,6 @@ # Template file for 'libuv' pkgname=libuv -version=1.49.2 +version=1.51.0 revision=1 build_style=gnu-configure hostmakedepends="pkg-config" @@ -10,7 +10,7 @@ license="MIT, BSD-2-Clause, ISC" homepage="https://libuv.org/" changelog="https://raw.githubusercontent.com/libuv/libuv/v1.x/ChangeLog" distfiles="https://dist.libuv.org/dist/v${version}/libuv-v${version}-dist.tar.gz" -checksum=2e910e668e5daf1be6a5195a696985d7200adfa5c4d3400ee7b3355affdcf52c +checksum=2ceca1a7577633cf92794db5bf5512370f6cd45a5746d6e14f8c20aeab0a547b LDFLAGS="-pthread" diff --git a/srcpkgs/nodejs/patches/v8-int64-lowering-reducer.patch b/srcpkgs/nodejs/patches/v8-int64-lowering-reducer.patch new file mode 100644 index 00000000000000..314e35a51b2632 --- /dev/null +++ b/srcpkgs/nodejs/patches/v8-int64-lowering-reducer.patch @@ -0,0 +1,31 @@ +From: Johannes Müller <50362-jogemu@users.gitlab.alpinelinux.org> +Date: Thu Aug 14 13:47:10 2025 +0000 +Subject: Fix build on 32-bit arches + + ../../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h:640:15: error: invalid use of 'struct v8::internal::compiler::turboshaft::Tuple, v8::internal::compiler::turboshaft::WordWithBits<32> >' [-Wtemplate-body] + 640 | return __ Tuple(result, __ Word32Constant(0)); + | ^~~~~~~~~~~~~~~~~~~~~ + +See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/88748#note_560642 + +--- a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h ++++ b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h +@@ -637,7 +637,7 @@ + result = __ Word32CountLeadingZeros(high); + } + +- return __ Tuple(result, __ Word32Constant(0)); ++ return __ template Tuple(result, __ Word32Constant(0)); + } + + V LowerCtz(V input) { +@@ -650,7 +650,7 @@ + result = __ Word32CountTrailingZeros(low); + } + +- return __ Tuple(result, __ Word32Constant(0)); ++ return __ template Tuple(result, __ Word32Constant(0)); + } + + V LowerPopCount(V input) { + diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 0312869e39ec66..d2132c1bf10b0c 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -1,7 +1,7 @@ # Template file for 'nodejs' pkgname=nodejs -version=22.15.0 -revision=2 +version=24.12.0 +revision=1 build_style=configure configure_args=" --prefix=/usr @@ -15,7 +15,7 @@ configure_args=" $(vopt_if cares --shared-cares) $(vopt_if brotli --shared-brotli)" make_build_args="V=1 LD=$CXX" -hostmakedepends="pkg-config python3-setuptools" +hostmakedepends="pkg-config python3.11 python3-setuptools" _make_depends=" zlib-devel ada-devel @@ -33,7 +33,7 @@ license="MIT" homepage="https://nodejs.org/" changelog="https://raw.githubusercontent.com/nodejs/node/main/doc/changelogs/CHANGELOG_V${version%%.*}.md" distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.xz" -checksum=e7c4226d1d92f33ad854d6da4f7e519e77690b8e73f93496881f8c539174d9df +checksum=6d3e891a016b90f6c6a19ea5cbc9c90c57eef9198670ba93f04fa82af02574ae python_version=3 build_options="ssl libuv icu nghttp2 cares brotli"