git: cbd5f84a251c - main - lang/v8: update to 15.5.35.25
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Oct 2026 19:20:48 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cbd5f84a251cd46846efdc74d2a31e8239298d3a
commit cbd5f84a251cd46846efdc74d2a31e8239298d3a
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-10-17 18:49:10 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-10-17 19:20:14 +0000
lang/v8: update to 15.5.35.25
- Initialize the attribute object before passing it to
pthread_attr_get_np() in PartitionAlloc's GetStackTop(), which
FreeBSD requires.
---
lang/v8/Makefile | 3 +--
lang/v8/distinfo | 6 +++---
...party_partition__alloc_src_partition__alloc_stack_stack.cc | 11 ++++++++---
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index 1b9d37c52a65..7465bb4ad140 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -4,8 +4,7 @@
# Browse current stable branch: https://chromium.googlesource.com/v8/v8/+/refs/heads/15.5-lkgr
PORTNAME= v8
-PORTVERSION= 15.5.35.20
-PORTREVISION= 2
+PORTVERSION= 15.5.35.25
CATEGORIES= lang
MAINTAINER= delphij@FreeBSD.org
diff --git a/lang/v8/distinfo b/lang/v8/distinfo
index c3203525d68b..dbb49e4f9eee 100644
--- a/lang/v8/distinfo
+++ b/lang/v8/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1791440417
+TIMESTAMP = 1792206385
SHA256 (rust/crates/autocfg-1.5.1.crate) = f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53
SIZE (rust/crates/autocfg-1.5.1.crate) = 18911
SHA256 (rust/crates/calendrical_calculations-0.2.4.crate) = 5abbd6eeda6885048d357edc66748eea6e0268e3dd11f326fff5bd248d779c26
@@ -91,8 +91,8 @@ SHA256 (rust/crates/zerovec-derive-0.11.6.crate) = 34df6fc39dbd26ddc9c10e6a29844
SIZE (rust/crates/zerovec-derive-0.11.6.crate) = 23102
SHA256 (rust/crates/zoneinfo64-0.3.0.crate) = ed6eb2607e906160c457fd573e9297e65029669906b9ac8fb1b5cd5e055f0705
SIZE (rust/crates/zoneinfo64-0.3.0.crate) = 81655
-SHA256 (v8-v8-15.5.35.20_GH0.tar.gz) = 0755edce1e9a15dccc165171a3ba04a89e67a7ea75c45c9b741e21b7949f25e1
-SIZE (v8-v8-15.5.35.20_GH0.tar.gz) = 31098984
+SHA256 (v8-v8-15.5.35.25_GH0.tar.gz) = f0fa10707a8ba63f956d62c827a80e7a57e2c0067ebaf44f598c916a2ec23eee
+SIZE (v8-v8-15.5.35.25_GH0.tar.gz) = 31110411
SHA256 (chromium-full-mirror-external_github.com_google_cpu_features-81d13c49649f0714dd41fb56bb246398b6584085_GH0.tar.gz) = 11d95dc8866e3ea5667509cc30d0169b838ad7d96c740ac06bfdde600f609209
SIZE (chromium-full-mirror-external_github.com_google_cpu_features-81d13c49649f0714dd41fb56bb246398b6584085_GH0.tar.gz) = 116738
SHA256 (chromium-full-mirror-external_github.com_aengelke_disarm-2d13d3f410a52daff1c5d8ef07d623332f372560_GH0.tar.gz) = db8f10f8f4a77596d755badc5719bbb83a9a7d9d05d3535ff607a2a400a0f6b5
diff --git a/lang/v8/files/patch-third__party_partition__alloc_src_partition__alloc_stack_stack.cc b/lang/v8/files/patch-third__party_partition__alloc_src_partition__alloc_stack_stack.cc
index 1226d8f759b8..00306524ac3f 100644
--- a/lang/v8/files/patch-third__party_partition__alloc_src_partition__alloc_stack_stack.cc
+++ b/lang/v8/files/patch-third__party_partition__alloc_src_partition__alloc_stack_stack.cc
@@ -1,4 +1,4 @@
---- third_party/partition_alloc/src/partition_alloc/stack/stack.cc.orig 2026-09-13 16:45:48 UTC
+--- third_party/partition_alloc/src/partition_alloc/stack/stack.cc.orig 2026-09-01 03:39:43 UTC
+++ third_party/partition_alloc/src/partition_alloc/stack/stack.cc
@@ -17,7 +17,10 @@
#include <windows.h>
@@ -11,7 +11,7 @@
#if PA_BUILDFLAG(PA_LIBC_GLIBC)
extern "C" void* __libc_stack_end;
-@@ -49,6 +52,22 @@ void* GetStackTop() {
+@@ -49,6 +52,27 @@ void* GetStackTop() {
void* GetStackTop() {
return pthread_get_stackaddr_np(pthread_self());
@@ -21,7 +21,11 @@
+
+void* GetStackTop() {
+ pthread_attr_t attr;
-+ int error = pthread_attr_get_np(pthread_self(), &attr);
++ int error = pthread_attr_init(&attr);
++ if (error) {
++ return nullptr;
++ }
++ error = pthread_attr_get_np(pthread_self(), &attr);
+ if (!error) {
+ void* base;
+ size_t size;
@@ -30,6 +34,7 @@
+ pthread_attr_destroy(&attr);
+ return PA_UNSAFE_TODO(reinterpret_cast<uint8_t*>(base) + size);
+ }
++ pthread_attr_destroy(&attr);
+ return nullptr;
}