summaryrefslogtreecommitdiff
path: root/lang/v8-beta/files/patch-build_linux_chrome.map
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-11-01 21:23:13 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-11-01 21:41:20 +0800
commitf366d96316722f0acfe0183f844e6fd3d6a5d80a (patch)
tree808dd1232fb31124178da216b9c5d7d288a9eba8 /lang/v8-beta/files/patch-build_linux_chrome.map
parentdatabases/caterva: Add caterva 0.5.0 (diff)
lang/v8-beta: Add v8-beta 9.6.180.5
Changes: https://v8.dev/blog/v8-release-96 https://chromium.googlesource.com/v8/v8.git/+log/refs/heads/9.6-lkgr https://github.com/v8/v8/commits/9.6-lkgr
Diffstat (limited to 'lang/v8-beta/files/patch-build_linux_chrome.map')
-rw-r--r--lang/v8-beta/files/patch-build_linux_chrome.map29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/v8-beta/files/patch-build_linux_chrome.map b/lang/v8-beta/files/patch-build_linux_chrome.map
new file mode 100644
index 000000000000..f540509b3054
--- /dev/null
+++ b/lang/v8-beta/files/patch-build_linux_chrome.map
@@ -0,0 +1,29 @@
+--- build/linux/chrome.map.orig 2021-05-01 21:15:31 UTC
++++ build/linux/chrome.map
+@@ -1,4 +1,7 @@
+ {
++local:
++ *;
++
+ global:
+ __bss_start;
+ __data_start;
+@@ -20,6 +23,10 @@ global:
+ # Program entry point.
+ _start;
+
++ # FreeBSD specific variables.
++ __progname;
++ environ;
++
+ # Memory allocation symbols. We want chrome and any libraries to
+ # share the same heap, so it is correct to export these symbols.
+ calloc;
+@@ -83,7 +90,4 @@ global:
+ localtime_r;
+
+ v8dbg_*;
+-
+-local:
+- *;
+ };