diff options
author | William Hubbs <williamh@gentoo.org> | 2022-05-04 13:49:11 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-05-04 13:49:30 -0500 |
commit | d790231b88ab650ac50f754719fa515128ce1119 (patch) | |
tree | a31dc92fa12f7cf6fb3adcd1bd40dde98c83cff0 /net-libs/nodejs/files | |
parent | net-libs/nodejs: update paxmarking patch for nodejs 16.x (diff) | |
download | gentoo-d790231b88ab650ac50f754719fa515128ce1119.tar.gz gentoo-d790231b88ab650ac50f754719fa515128ce1119.tar.bz2 gentoo-d790231b88ab650ac50f754719fa515128ce1119.zip |
net-libs/nodejs: drop 12.22.5-r1, 12.22.6, 12.22.10
Nodejs 12.x is no longer supported upstream.
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r-- | net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch | 44 | ||||
-rw-r--r-- | net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch | 95 |
2 files changed, 0 insertions, 139 deletions
diff --git a/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch b/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch deleted file mode 100644 index 0982d3c81c2a..000000000000 --- a/net-libs/nodejs/files/nodejs-12.20.1-fix_ppc64_crashes.patch +++ /dev/null @@ -1,44 +0,0 @@ -Backport of https://github.com/nodejs/node/pull/33866 to nodejs-12 - ---- a/deps/v8/src/compiler/backend/instruction-selector.cc -+++ b/deps/v8/src/compiler/backend/instruction-selector.cc -@@ -2788,7 +2788,7 @@ - switch (call_descriptor->kind()) { - case CallDescriptor::kCallAddress: { - int misc_field = static_cast<int>(call_descriptor->ParameterCount()); --#if defined(_AIX) -+#if ABI_USES_FUNCTION_DESCRIPTORS - // Highest misc_field bit is used on AIX to indicate if a CFunction call - // has function descriptor or not. - misc_field |= call_descriptor->HasFunctionDescriptor() ---- a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc -+++ b/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc -@@ -1026,7 +1026,7 @@ - Label start_call; - bool isWasmCapiFunction = - linkage()->GetIncomingDescriptor()->IsWasmCapiFunction(); --#if defined(_AIX) -+#if ABI_USES_FUNCTION_DESCRIPTORS - // AIX/PPC64BE Linux uses a function descriptor - int kNumParametersMask = kHasFunctionDescriptorBitMask - 1; - num_parameters = kNumParametersMask & misc_field; ---- a/deps/v8/src/execution/simulator.h -+++ b/deps/v8/src/execution/simulator.h -@@ -122,7 +122,7 @@ - - DISABLE_CFI_ICALL Return Call(Args... args) { - // When running without a simulator we call the entry directly. --#if V8_OS_AIX -+#if ABI_USES_FUNCTION_DESCRIPTORS - // AIX ABI requires function descriptors (FD). Artificially create a pseudo - // FD to ensure correct dispatch to generated code. The 'volatile' - // declaration is required to avoid the compiler from not observing the -@@ -134,7 +134,7 @@ - return fn(args...); - #else - return fn_ptr_(args...); --#endif // V8_OS_AIX -+#endif // ABI_USES_FUNCTION_DESCRIPTORS - } - #endif // USE_SIMULATOR - diff --git a/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch b/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch deleted file mode 100644 index 5f0df09b6e2e..000000000000 --- a/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch +++ /dev/null @@ -1,95 +0,0 @@ ---- a/deps/v8/third_party/jinja2/tests.py -+++ b/deps/v8/third_party/jinja2/tests.py -@@ -10,7 +10,7 @@ - """ - import operator - import re --from collections import Mapping -+from collections.abc import Mapping - from jinja2.runtime import Undefined - from jinja2._compat import text_type, string_types, integer_types - import decimal ---- a/deps/v8/third_party/jinja2/runtime.py -+++ b/deps/v8/third_party/jinja2/runtime.py -@@ -315,7 +315,7 @@ class Context(with_metaclass(ContextMeta)): - - # register the context as mapping if possible - try: -- from collections import Mapping -+ from collections.abc import Mapping - Mapping.register(Context) - except ImportError: - pass ---- a/deps/v8/third_party/jinja2/sandbox.py -+++ b/deps/v8/third_party/jinja2/sandbox.py -@@ -14,7 +14,7 @@ - """ - import types - import operator --from collections import Mapping -+from collections.abc import Mapping - from jinja2.environment import Environment - from jinja2.exceptions import SecurityError - from jinja2._compat import string_types, PY2 -@@ -79,7 +79,7 @@ except ImportError: - pass - - #: register Python 2.6 abstract base classes --from collections import MutableSet, MutableMapping, MutableSequence -+from collections.abc import MutableSet, MutableMapping, MutableSequence - _mutable_set_types += (MutableSet,) - _mutable_mapping_types += (MutableMapping,) - _mutable_sequence_types += (MutableSequence,) ---- a/deps/v8/third_party/jinja2/utils.py -+++ b/deps/v8/third_party/jinja2/utils.py -@@ -482,7 +482,7 @@ class LRUCache(object): - - # register the LRU cache as mutable mapping if possible - try: -- from collections import MutableMapping -+ from collections.abc import MutableMapping - MutableMapping.register(LRUCache) - except ImportError: - pass ---- a/tools/inspector_protocol/jinja2/runtime.py -+++ b/tools/inspector_protocol/jinja2/runtime.py -@@ -315,7 +315,7 @@ class Context(with_metaclass(ContextMeta)): - - # register the context as mapping if possible - try: -- from collections import Mapping -+ from collections.abc import Mapping - Mapping.register(Context) - except ImportError: - pass ---- a/tools/inspector_protocol/jinja2/sandbox.py -+++ b/tools/inspector_protocol/jinja2/sandbox.py -@@ -14,7 +14,7 @@ - """ - import types - import operator --from collections import Mapping -+from collections.abc import Mapping - from jinja2.environment import Environment - from jinja2.exceptions import SecurityError - from jinja2._compat import string_types, PY2 -@@ -79,7 +79,7 @@ except ImportError: - pass - - #: register Python 2.6 abstract base classes --from collections import MutableSet, MutableMapping, MutableSequence -+from collections.abc import MutableSet, MutableMapping, MutableSequence - _mutable_set_types += (MutableSet,) - _mutable_mapping_types += (MutableMapping,) - _mutable_sequence_types += (MutableSequence,) ---- a/tools/inspector_protocol/jinja2/tests.py -+++ b/tools/inspector_protocol/jinja2/tests.py -@@ -10,7 +10,7 @@ - """ - import operator - import re --from collections import Mapping -+from collections.abc import Mapping - from jinja2.runtime import Undefined - from jinja2._compat import text_type, string_types, integer_types - import decimal |