2018-09-14 05:02:16 +00:00
|
|
|
repo: src/v8
|
|
|
|
patches:
|
2018-09-14 18:03:43 +00:00
|
|
|
-
|
|
|
|
author: null
|
|
|
|
file: node_v8_patches.patch
|
|
|
|
description: |
|
|
|
|
Patches that node applies to v8.
|
|
|
|
Generated with
|
|
|
|
|
|
|
|
$ cd third_party/electron_node
|
|
|
|
$ CURRENT_NODE_VERSION=vX.Y.Z
|
|
|
|
# Find the last commit with the message "deps: update V8 to <some version>"
|
|
|
|
# This commit corresponds to node resetting V8 to its pristine upstream
|
|
|
|
# state at the stated version.
|
|
|
|
$ LAST_V8_UPDATE="$(git log --grep='^deps: update V8' --format='%H' -1 deps/v8)"
|
|
|
|
# This creates a patch file containing all changes in deps/v8 from
|
|
|
|
# $LAST_V8_UPDATE up to the current node version, formatted in a way that
|
|
|
|
# it will apply cleanly to the V8 repository (i.e. with `deps/v8`
|
|
|
|
# stripped off the path and excluding the v8/gypfiles directory, which
|
|
|
|
# isn't present in V8.
|
|
|
|
$ git format-patch \
|
|
|
|
--relative=deps/v8 \
|
|
|
|
$LAST_V8_UPDATE..$CURRENT_NODE_VERSION \
|
|
|
|
deps/v8 \
|
|
|
|
':(exclude)deps/v8/gypfiles' \
|
|
|
|
--stdout
|
2018-09-14 05:02:16 +00:00
|
|
|
-
|
|
|
|
author: Shelley Vohr <shelley.vohr@gmail.com>
|
|
|
|
file: add_realloc.patch
|
|
|
|
description: |
|
|
|
|
Blink overrides ArrayBuffer's allocator with its own one, while Node simply
|
|
|
|
uses malloc and free, so we need to use v8's allocator in Node. As part of the
|
|
|
|
10.6.0 upgrade, we needed to make SerializerDelegate accept an allocator
|
|
|
|
argument in its constructor, and override ReallocateBufferMemory and
|
|
|
|
FreeBufferMemory to use the allocator. We cannot simply allocate and then memcpy
|
|
|
|
when we override ReallocateBufferMemory, so we therefore need to implement
|
|
|
|
Realloc on the v8 side.
|
|
|
|
-
|
|
|
|
author: Ales Pergl <alpergl@microsoft.com>
|
|
|
|
file: build_gn.patch
|
|
|
|
description: null
|
|
|
|
-
|
|
|
|
author: Cheng Zhao <zcbenz@gmail.com>
|
|
|
|
file: array_buffer.patch
|
|
|
|
description: null
|
|
|
|
-
|
|
|
|
author: Cheng Zhao <zcbenz@gmail.com>
|
|
|
|
file: ostreams.patch
|
|
|
|
description: null
|
|
|
|
-
|
|
|
|
author: Aleksei Kuzmin <alkuzmin@microsoft.com>
|
|
|
|
file: export_platform.patch
|
|
|
|
description: |
|
|
|
|
v8::Platform::SystemClockTimeMillis must be exported so that node::NodePlatform can call it
|
|
|
|
-
|
|
|
|
author: Ales Pergl <alpergl@microsoft.com>
|
|
|
|
file: dcheck.patch
|
|
|
|
description: null
|
|
|
|
-
|
|
|
|
author: Nitish Sakhawalkar <nitsakh@icloud.com>
|
|
|
|
file: disable-warning-win.patch
|
|
|
|
description:
|
|
|
|
Disable unit test windows build warning
|
2018-09-25 01:48:49 +00:00
|
|
|
-
|
|
|
|
author: Shelley Vohr <shelley.vohr@gmail.com>
|
|
|
|
file: expose_mksnapshot.patch
|
|
|
|
description: Needed in order to build mksnapshot on arm.
|
2018-10-03 20:34:44 +00:00
|
|
|
-
|
|
|
|
author: Aleksei Kuzmin <alkuzmin@microsoft.com>
|
|
|
|
file: build-torque-with-x64-toolchain-on-arm.patch
|
|
|
|
description: |
|
|
|
|
torque binary has to be run during the build.
|