summaryrefslogtreecommitdiff
path: root/lang/v8/files/patch-build_linux_chrome.map
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-11-20 10:41:13 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-11-20 10:41:13 +0000
commit9a4ce488e85c4b59c1d2acdfd23cb88b7e9ca198 (patch)
tree84f3b4638ccf347ba91572ef9f96440521ed236f /lang/v8/files/patch-build_linux_chrome.map
parentnet/concourse-fly: Update to 6.7.1 (diff)
lang/v8: Update to 8.7.220.23
PR: 213202 Reported by: many Approved by: sunpoet (maintainer timeout)
Notes
Notes: svn path=/head/; revision=555754
Diffstat (limited to 'lang/v8/files/patch-build_linux_chrome.map')
-rw-r--r--lang/v8/files/patch-build_linux_chrome.map29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/v8/files/patch-build_linux_chrome.map b/lang/v8/files/patch-build_linux_chrome.map
new file mode 100644
index 000000000000..7465bc9773c5
--- /dev/null
+++ b/lang/v8/files/patch-build_linux_chrome.map
@@ -0,0 +1,29 @@
+--- build/linux/chrome.map.orig 2019-03-11 22:00:52 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;
+@@ -81,7 +88,4 @@ global:
+ localtime64;
+ localtime64_r;
+ localtime_r;
+-
+-local:
+- *;
+ };