summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-04-29 20:23:32 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-04-29 20:24:04 -0500
commit4bf7a2a804d52fd837a17c30bd32786f5e8adf0d (patch)
treefb98876c720eff8fb8bda3aa0ba9e3d70e6ce3a6 /net-libs/nodejs/files
parentdev-ml/core_kernel: Stabilize 0.15.0 arm, #901601 (diff)
downloadgentoo-4bf7a2a804d52fd837a17c30bd32786f5e8adf0d.tar.gz
gentoo-4bf7a2a804d52fd837a17c30bd32786f5e8adf0d.tar.bz2
gentoo-4bf7a2a804d52fd837a17c30bd32786f5e8adf0d.zip
net-libs/nodejs: drop 16.19.1, 18.14.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r--net-libs/nodejs/files/nodejs-15.2.0-global-npm-config.patch13
-rw-r--r--net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch85
2 files changed, 0 insertions, 98 deletions
diff --git a/net-libs/nodejs/files/nodejs-15.2.0-global-npm-config.patch b/net-libs/nodejs/files/nodejs-15.2.0-global-npm-config.patch
deleted file mode 100644
index 2b0705b1d712..000000000000
--- a/net-libs/nodejs/files/nodejs-15.2.0-global-npm-config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/deps/npm/node_modules/@npmcli/config/lib/index.js
-+++ b/deps/npm/node_modules/@npmcli/config/lib/index.js
-@@ -275,8 +275,9 @@
- // default the globalconfig file to that location, instead of the default
- // global prefix. It's weird that `npm get globalconfig --prefix=/foo`
- // returns `/foo/etc/npmrc`, but better to not change it at this point.
-+ // gentoo deviates wrt global config; store in /etc/npm
- settableGetter(data, 'globalconfig', () =>
-- resolve(this[_get]('prefix'), 'etc/npmrc'))
-+ resolve('/etc', 'npmrc'))
- }
-
- loadHome () {
diff --git a/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch b/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch
deleted file mode 100644
index fd7ef431045e..000000000000
--- a/net-libs/nodejs/files/nodejs-18.3.0-paxmarking.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff -urNp node-v15.8.0-orig/node.gyp node-v15.8.0-dwok/node.gyp
---- node-v15.8.0-orig/node.gyp 2021-02-24 22:21:44.202911780 +0100
-+++ node-v15.8.0-dwok/node.gyp 2021-02-24 22:25:34.298281739 +0100
-@@ -55,6 +55,7 @@
- 'deps/undici/undici.js',
- ],
- 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)',
-+ 'node_mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot_u<(EXECUTABLE_SUFFIX)',
- 'conditions': [
- ['GENERATOR == "ninja"', {
- 'node_text_start_object_path': 'src/large_pages/node_text_start.node_text_start.o'
-@@ -331,10 +332,24 @@
- }, {
- 'actions': [
- {
-+ 'action_name': 'run_pax_mksnapshot',
-+ 'inputs': [
-+ '<(node_mksnapshot_exec)',
-+ ],
-+ 'outputs': [
-+ '<(node_mksnapshot_u_exec)',
-+ ],
-+ 'action': [
-+ 'bash',
-+ '-c',
-+ 'mv <(node_mksnapshot_exec) <(node_mksnapshot_u_exec) && paxmark.sh m <(node_mksnapshot_u_exec)',
-+ ],
-+ },
-+ {
- 'action_name': 'node_mksnapshot',
- 'process_outputs_as_sources': 1,
- 'inputs': [
-- '<(node_mksnapshot_exec)',
-+ '<(node_mksnapshot_u_exec)',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc',
-diff -urNp node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp
---- node-v15.8.0-orig/tools/v8_gypfiles/v8.gyp 2021-02-24 22:21:44.654910571 +0100
-+++ node-v15.8.0-dwok/tools/v8_gypfiles/v8.gyp 2021-02-24 22:25:54.834224791 +0100
-@@ -9,6 +9,7 @@
- 'v8_vector_stores%': 0,
- 'v8_embed_script%': "",
- 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
-+ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)',
- 'v8_os_page_size%': 0,
- 'generate_bytecode_output_root': '<(SHARED_INTERMEDIATE_DIR)/generate-bytecode-output-root',
- 'generate_bytecode_builtins_list_output': '<(generate_bytecode_output_root)/builtins-generated/bytecodes-builtins-list.h',
-@@ -1413,7 +1414,7 @@
- ],
- }, # bytecode_builtins_list_generator
- {
-- 'target_name': 'mksnapshot',
-+ 'target_name': 'mksnapshot_u',
- 'type': 'executable',
- 'dependencies': [
- 'v8_base_without_compiler',
-@@ -1432,6 +1433,27 @@
- 'toolsets': ['host'],
- }],
- ],
-+ }, # mksnapshot_u
-+ {
-+ 'target_name': 'mksnapshot',
-+ 'type': 'none',
-+ 'dependencies': ['mksnapshot_u'],
-+ 'actions': [
-+ {
-+ 'action_name': 'paxmark_mksnapshot',
-+ 'inputs': [
-+ '<(mksnapshot_u_exec)',
-+ ],
-+ 'outputs': [
-+ '<(mksnapshot_exec)',
-+ ],
-+ 'action': [
-+ 'bash',
-+ '-c',
-+ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxmark.sh m <(mksnapshot_exec)'
-+ ],
-+ },
-+ ],
- }, # mksnapshot
- {
- 'target_name': 'torque',