summaryrefslogtreecommitdiff
path: root/www/deno
diff options
context:
space:
mode:
Diffstat (limited to 'www/deno')
-rw-r--r--www/deno/Makefile1
-rw-r--r--www/deno/files/patch-build_config_compiler_BUILD.gn17
-rw-r--r--www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc2
3 files changed, 18 insertions, 2 deletions
diff --git a/www/deno/Makefile b/www/deno/Makefile
index 452a8667e1ea..14f9d915188a 100644
--- a/www/deno/Makefile
+++ b/www/deno/Makefile
@@ -1,6 +1,7 @@
PORTNAME= deno
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.9
+PORTREVISION= 3
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
diff --git a/www/deno/files/patch-build_config_compiler_BUILD.gn b/www/deno/files/patch-build_config_compiler_BUILD.gn
index e13c3a8e32be..446cabbe618a 100644
--- a/www/deno/files/patch-build_config_compiler_BUILD.gn
+++ b/www/deno/files/patch-build_config_compiler_BUILD.gn
@@ -1,4 +1,4 @@
---- cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn.orig 1973-11-29 22:33:09 UTC
+--- cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn.orig 2006-07-24 01:21:28 UTC
+++ cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn
@@ -198,7 +198,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
@@ -56,6 +56,21 @@
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
+@@ -1235,10 +1242,10 @@ config("compiler_cpu_abi") {
+ ]
+ }
+ } else if (current_cpu == "arm") {
+- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) {
+- cflags += [ "--target=arm-linux-gnueabihf" ]
+- ldflags += [ "--target=arm-linux-gnueabihf" ]
+- }
++# if (is_clang && !is_android && !is_nacl && !is_chromeos_device) {
++# cflags += [ "--target=arm-linux-gnueabihf" ]
++# ldflags += [ "--target=arm-linux-gnueabihf" ]
++# }
+ if (!is_nacl) {
+ cflags += [
+ "-march=$arm_arch",
@@ -1249,7 +1256,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
diff --git a/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc b/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc
index c2f65ad6363f..d3cc6f81b281 100644
--- a/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc
+++ b/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc
@@ -20,7 +20,7 @@
lib_name = std::string(path);
}
result.push_back(SharedLibraryAddress(
-+#if defined(__i386__) || defined(OS_FREEBSD)
++#if defined(__arm__) || defined(__i386__) || defined(OS_FREEBSD)
+ lib_name, static_cast<uintptr_t>(map->kve_start),
+ static_cast<uintptr_t>(map->kve_end)));
+#else