Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions srcpkgs/libuv/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"

Expand Down
31 changes: 31 additions & 0 deletions srcpkgs/nodejs/patches/v8-int64-lowering-reducer.patch
Original file line number Diff line number Diff line change
@@ -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>, v8::internal::compiler::turboshaft::WordWithBits<32> >' [-Wtemplate-body]
640 | return __ Tuple<Word32, Word32>(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<Word32, Word32>(result, __ Word32Constant(0));
+ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
}

V<Word32Pair> LowerCtz(V<Word32Pair> input) {
@@ -650,7 +650,7 @@
result = __ Word32CountTrailingZeros(low);
}

- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
+ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
}

V<Word32Pair> LowerPopCount(V<Word32Pair> input) {

8 changes: 4 additions & 4 deletions srcpkgs/nodejs/template
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down
Loading