diff options
Diffstat (limited to 'devel/electron34')
-rw-r--r-- | devel/electron34/Makefile | 6 | ||||
-rw-r--r-- | devel/electron34/files/patch-build_rust_allocator_lib.rs | 10 | ||||
-rw-r--r-- | devel/electron34/files/patch-net_dns_BUILD.gn | 16 |
3 files changed, 26 insertions, 6 deletions
diff --git a/devel/electron34/Makefile b/devel/electron34/Makefile index 2caf0dd0c67a..333ae50528a7 100644 --- a/devel/electron34/Makefile +++ b/devel/electron34/Makefile @@ -1,7 +1,7 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} -PORTREVISION= 3 +PORTREVISION= 5 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel @@ -25,6 +25,10 @@ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE +DEPRECATED= EOLed upstream, switch to newer version +EXPIRATION_DATE= 2025-08-31 + +BROKEN_i386= fetch fails: node process stalls during fetch phase and eats up all CPUs ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} diff --git a/devel/electron34/files/patch-build_rust_allocator_lib.rs b/devel/electron34/files/patch-build_rust_allocator_lib.rs index 89fddf278294..3e1dd7dcb48b 100644 --- a/devel/electron34/files/patch-build_rust_allocator_lib.rs +++ b/devel/electron34/files/patch-build_rust_allocator_lib.rs @@ -1,6 +1,6 @@ ---- build/rust/allocator/lib.rs.orig 2025-05-20 09:16:26 UTC +--- build/rust/allocator/lib.rs.orig 2025-08-26 22:47:37 UTC +++ build/rust/allocator/lib.rs -@@ -0,0 +1,119 @@ +@@ -0,0 +1,125 @@ +// Copyright 2025 The Chromium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -92,6 +92,12 @@ + /// As part of rustc's contract for using `#[global_allocator]` without + /// rustc-generated shims we must define this symbol, since we are opting in + /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 ++ #[rustc_std_internal_symbol] ++ #[linkage = "weak"] ++ fn __rust_no_alloc_shim_is_unstable_v2() {} ++ ++ // TODO(crbug.com/422538133) Remove after rolling past ++ // https://github.com/rust-lang/rust/pull/141061 + #[no_mangle] + #[linkage = "weak"] + static __rust_no_alloc_shim_is_unstable: u8 = 0; diff --git a/devel/electron34/files/patch-net_dns_BUILD.gn b/devel/electron34/files/patch-net_dns_BUILD.gn index f1e85f0ddb01..e1fd322aea84 100644 --- a/devel/electron34/files/patch-net_dns_BUILD.gn +++ b/devel/electron34/files/patch-net_dns_BUILD.gn @@ -1,4 +1,4 @@ ---- net/dns/BUILD.gn.orig 2024-06-30 11:48:27 UTC +--- net/dns/BUILD.gn.orig 2025-03-29 00:50:57 UTC +++ net/dns/BUILD.gn @@ -138,7 +138,7 @@ source_set("dns") { "dns_config_service_android.cc", @@ -9,7 +9,17 @@ sources += [ "dns_config_service_linux.cc", "dns_config_service_linux.h", -@@ -179,6 +179,7 @@ source_set("dns") { +@@ -172,6 +172,9 @@ source_set("dns") { + } + + deps = [ "//net:net_deps" ] ++ if (is_bsd) { ++ deps += [ "//services/screen_ai/buildflags" ] ++ } + + public_deps = [ + ":dns_client", +@@ -179,6 +182,7 @@ source_set("dns") { ":host_resolver_manager", ":mdns_client", "//net:net_public_deps", @@ -17,7 +27,7 @@ ] allow_circular_includes_from = [ -@@ -449,9 +450,9 @@ source_set("tests") { +@@ -447,9 +451,9 @@ source_set("tests") { if (is_android) { sources += [ "dns_config_service_android_unittest.cc" ] |