summaryrefslogtreecommitdiff
path: root/www/node18/files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/node18/files/patch-common.gypi20
-rw-r--r--www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi11
-rw-r--r--www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi11
-rw-r--r--www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi17
-rw-r--r--www/node18/files/patch-deps_openssl_openssl__no__asm.gypi11
-rw-r--r--www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc13
-rw-r--r--www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc18
-rw-r--r--www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h20
-rw-r--r--www/node18/files/patch-deps_v8_src_libsampler_sampler.cc13
-rw-r--r--www/node18/files/patch-icu13
-rw-r--r--www/node18/files/patch-libc++19185
-rw-r--r--www/node18/files/patch-node.gypi12
-rw-r--r--www/node18/files/patch-openssl315
-rw-r--r--www/node18/files/patch-src_cares__wrap.h11
-rw-r--r--www/node18/files/patch-tools_install.py11
-rw-r--r--www/node18/files/patch-tools_v8__gypfiles_v8.gyp11
16 files changed, 0 insertions, 392 deletions
diff --git a/www/node18/files/patch-common.gypi b/www/node18/files/patch-common.gypi
deleted file mode 100644
index 0f921bf14c8a..000000000000
--- a/www/node18/files/patch-common.gypi
+++ /dev/null
@@ -1,20 +0,0 @@
---- common.gypi.orig 2023-09-18 05:18:10 UTC
-+++ common.gypi
-@@ -426,7 +426,7 @@
- 'ldflags': [ '-m32' ],
- }],
- [ 'host_arch=="ppc64" and OS not in "aix os400"', {
-- 'cflags': [ '-m64', '-mminimal-toc' ],
-+ 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
- [ 'host_arch=="s390x" and OS=="linux"', {
-@@ -450,7 +450,7 @@
- 'ldflags': [ '-m32' ],
- }],
- [ 'target_arch=="ppc64" and OS not in "aix os400"', {
-- 'cflags': [ '-m64', '-mminimal-toc' ],
-+ 'cflags': [ '-m64' ],
- 'ldflags': [ '-m64' ],
- }],
- [ 'target_arch=="s390x" and OS=="linux"', {
diff --git a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi b/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi
deleted file mode 100644
index 9a24f1397df0..000000000000
--- a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi
+++ /dev/null
@@ -1,11 +0,0 @@
---- deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2023-04-12 04:09:13 UTC
-+++ deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi
-@@ -13,7 +13,7 @@
- '-Wall -O3 -fomit-frame-pointer',
- ],
- 'openssl_ex_libs_linux-elf': [
-- '-ldl -pthread',
-+ '-pthread',
- ],
- 'openssl_cli_srcs_linux-elf': [
- 'openssl/apps/lib/cmp_mock_srv.c',
diff --git a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi b/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi
deleted file mode 100644
index 43f4e2a7dcaa..000000000000
--- a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi
+++ /dev/null
@@ -1,11 +0,0 @@
---- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2023-04-12 04:09:13 UTC
-+++ deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi
-@@ -977,7 +977,7 @@
- '-Wall -O3 -fomit-frame-pointer',
- ],
- 'openssl_ex_libs_linux-elf': [
-- '-ldl -pthread',
-+ '-pthread',
- ],
- },
- 'include_dirs': [
diff --git a/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi b/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi
deleted file mode 100644
index 0f4e3a84e805..000000000000
--- a/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi
+++ /dev/null
@@ -1,17 +0,0 @@
---- deps/openssl/openssl-cl_no_asm.gypi.orig 2024-02-13 21:40:45 UTC
-+++ deps/openssl/openssl-cl_no_asm.gypi
-@@ -1,4 +1,5 @@
- {
-+ 'defines': ['OPENSSL_NO_ASM'],
- 'conditions': [
- ['target_arch=="ppc64" and OS in ("aix", "os400")', {
- 'includes': ['config/archs/aix64-gcc-as/no-asm/openssl-cl.gypi'],
-@@ -45,7 +46,7 @@
- 'includes': ['config/archs/linux64-loongarch64/no-asm/openssl-cl.gypi'],
- }, {
- # Other architectures don't use assembly
-- 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'],
-+ 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'],
- }],
- ],
- }
diff --git a/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi b/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi
deleted file mode 100644
index aa336fd927fa..000000000000
--- a/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi
+++ /dev/null
@@ -1,11 +0,0 @@
---- deps/openssl/openssl_no_asm.gypi.orig 2023-04-12 04:09:14 UTC
-+++ deps/openssl/openssl_no_asm.gypi
-@@ -44,7 +44,7 @@
- 'includes': ['config/archs/linux64-riscv64/no-asm/openssl.gypi'],
- }, {
- # Other architectures don't use assembly
-- 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'],
-+ 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'],
- }],
- ],
- }
diff --git a/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc b/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
deleted file mode 100644
index 1983570ba3cc..000000000000
--- a/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- deps/v8/src/base/platform/platform-freebsd.cc.orig 2023-04-12 04:09:14 UTC
-+++ deps/v8/src/base/platform/platform-freebsd.cc
-@@ -82,8 +82,8 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
- lib_name = std::string(path);
- }
- result.push_back(SharedLibraryAddress(
-- lib_name, reinterpret_cast<uintptr_t>(map->kve_start),
-- reinterpret_cast<uintptr_t>(map->kve_end)));
-+ lib_name, static_cast<uintptr_t>(map->kve_start),
-+ static_cast<uintptr_t>(map->kve_end)));
- }
-
- start += ssize;
diff --git a/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc b/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc
deleted file mode 100644
index 4a34f1968958..000000000000
--- a/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc
+++ /dev/null
@@ -1,18 +0,0 @@
---- deps/v8/src/codegen/arm/cpu-arm.cc.orig 2023-04-12 04:09:15 UTC
-+++ deps/v8/src/codegen/arm/cpu-arm.cc
-@@ -2,12 +2,15 @@
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
-
-+#include "include/v8config.h"
-+
- // CPU specific code for arm independent of OS goes here.
- #ifdef __arm__
- #ifdef __QNXNTO__
- #include <sys/mman.h> // for cache flushing.
- #undef MAP_TYPE
- #elif V8_OS_FREEBSD
-+#include <sys/cdefs.h>
- #include <machine/sysarch.h> // for cache flushing
- #include <sys/types.h>
- #elif V8_OS_STARBOARD
diff --git a/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h b/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h
deleted file mode 100644
index 2bf7c381a87a..000000000000
--- a/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2023-04-12 04:09:15 UTC
-+++ deps/v8/src/codegen/ppc/constants-ppc.h
-@@ -36,7 +36,7 @@
- #endif
-
- #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || !V8_TARGET_ARCH_PPC64 || \
-- V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)
-+ (defined(_CALL_ELF) && _CALL_ELF == 2)
- #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
- #else
- #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0
-@@ -44,7 +44,7 @@
-
- #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || \
- (V8_TARGET_ARCH_PPC64 && \
-- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
-+ (defined(_CALL_ELF) && _CALL_ELF == 2))
- #define ABI_CALL_VIA_IP 1
- #else
- #define ABI_CALL_VIA_IP 0
diff --git a/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc
deleted file mode 100644
index 73288a58ab90..000000000000
--- a/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- deps/v8/src/libsampler/sampler.cc.orig 2023-04-12 04:09:15 UTC
-+++ deps/v8/src/libsampler/sampler.cc
-@@ -497,6 +497,10 @@ void SignalHandler::FillRegisterState(void* context, R
- state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
- state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
- state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC64
-+ state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
-+ state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
-+ state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
- #endif // V8_HOST_ARCH_*
- #elif V8_OS_NETBSD
- #if V8_HOST_ARCH_IA32
diff --git a/www/node18/files/patch-icu b/www/node18/files/patch-icu
deleted file mode 100644
index aef92b469ff6..000000000000
--- a/www/node18/files/patch-icu
+++ /dev/null
@@ -1,13 +0,0 @@
-Obtained from: https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9
-
---- configure.py.orig 2024-11-12 00:42:39 UTC
-+++ configure.py
-@@ -1763,7 +1763,7 @@ def configure_intl(o):
- elif with_intl == 'system-icu':
- # ICU from pkg-config.
- o['variables']['v8_enable_i18n_support'] = 1
-- pkgicu = pkg_config('icu-i18n')
-+ pkgicu = pkg_config(['icu-i18n', 'icu-uc'])
- if not pkgicu[0]:
- error('''Could not load pkg-config data for "icu-i18n".
- See above errors or the README.md.''')
diff --git a/www/node18/files/patch-libc++19 b/www/node18/files/patch-libc++19
deleted file mode 100644
index 06c023c7028d..000000000000
--- a/www/node18/files/patch-libc++19
+++ /dev/null
@@ -1,185 +0,0 @@
-Obtained from: https://chromium.googlesource.com/v8/v8.git/+/182d9c05e78b1ddb1cb8242cd3628a7855a0336f
-
-commit 182d9c05e78b1ddb1cb8242cd3628a7855a0336f
-Author: Andrey Kosyakov <caseq@chromium.org>
-Date: 2023-08-17T13:50:11-07:00
-
- Define UChar as char16_t
-
- We used to have UChar defined as uint16_t which does not go along
- with STL these days if you try to have an std::basic_string<> of it,
- as there are no standard std::char_traits<> specialization for uint16_t.
-
- This switches UChar to char16_t where practical, introducing a few
- compatibility shims to keep CL size small, as (1) this would likely
- have to be back-ported and (2) crdtp extensively uses uint16_t for
- wide chars.
-
- Bug: b:296390693
- Change-Id: I66a32d8f0050915225b187de56896c26dd76163d
- Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4789966
- Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
- Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
- Auto-Submit: Andrey Kosyakov <caseq@chromium.org>
- Cr-Commit-Position: refs/heads/main@{#89559}
-
-diff --git deps/v8/src/inspector/string-16.cc deps/v8/src/inspector/string-16.cc
-index a8b786a8166..6df9963e970 100644
---- deps/v8/src/inspector/string-16.cc
-+++ deps/v8/src/inspector/string-16.cc
-@@ -27,7 +27,7 @@ bool isSpaceOrNewLine(UChar c) {
- return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9));
- }
-
--int64_t charactersToInteger(const UChar* characters, size_t length,
-+int64_t charactersToInteger(const uint16_t* characters, size_t length,
- bool* ok = nullptr) {
- std::vector<char> buffer;
- buffer.reserve(length + 1);
-@@ -50,6 +50,8 @@ String16::String16(const UChar* characters, size_t siz
-
- String16::String16(const UChar* characters, size_t size)
- : m_impl(characters, size) {}
-+String16::String16(const uint16_t* characters, size_t size)
-+ : m_impl(reinterpret_cast<const UChar*>(characters), size) {}
-
- String16::String16(const UChar* characters) : m_impl(characters) {}
-
-@@ -231,6 +233,10 @@ String16 String16::fromUTF16LE(const UChar* stringStar
- // No need to do anything on little endian machines.
- return String16(stringStart, length);
- #endif // V8_TARGET_BIG_ENDIAN
-+}
-+
-+String16 String16::fromUTF16LE(const uint16_t* stringStart, size_t length) {
-+ return fromUTF16LE(reinterpret_cast<const UChar*>(stringStart), length);
- }
-
- std::string String16::utf8() const {
-diff --git deps/v8/src/inspector/string-16.h deps/v8/src/inspector/string-16.h
-index 1678ffb2e1e..d9f6c466ab1 100644
---- deps/v8/src/inspector/string-16.h
-+++ deps/v8/src/inspector/string-16.h
-@@ -6,6 +6,7 @@
- #define V8_INSPECTOR_STRING_16_H_
-
- #include <stdint.h>
-+#include <uchar.h>
-
- #include <cctype>
- #include <climits>
-@@ -17,7 +18,7 @@ namespace v8_inspector {
-
- namespace v8_inspector {
-
--using UChar = uint16_t;
-+using UChar = char16_t;
-
- class String16 {
- public:
-@@ -27,6 +28,7 @@ class String16 {
- String16(const String16&) V8_NOEXCEPT = default;
- String16(String16&&) V8_NOEXCEPT = default;
- String16(const UChar* characters, size_t size);
-+ String16(const uint16_t* characters, size_t size);
- V8_EXPORT String16(const UChar* characters);
- V8_EXPORT String16(const char* characters);
- String16(const char* characters, size_t size);
-@@ -47,7 +49,9 @@ class String16 {
- uint64_t toUInt64(bool* ok = nullptr) const;
- int toInteger(bool* ok = nullptr) const;
- String16 stripWhiteSpace() const;
-- const UChar* characters16() const { return m_impl.c_str(); }
-+ const uint16_t* characters16() const {
-+ return reinterpret_cast<const uint16_t*>(m_impl.c_str());
-+ }
- size_t length() const { return m_impl.length(); }
- bool isEmpty() const { return !m_impl.length(); }
- UChar operator[](size_t index) const { return m_impl[index]; }
-@@ -76,6 +80,8 @@ class String16 {
- // Instantiates a String16 in native endianness from UTF16 LE.
- // On Big endian architectures, byte order needs to be flipped.
- V8_EXPORT static String16 fromUTF16LE(const UChar* stringStart,
-+ size_t length);
-+ V8_EXPORT static String16 fromUTF16LE(const uint16_t* stringStart,
- size_t length);
-
- std::size_t hash() const {
-diff --git deps/v8/src/inspector/v8-string-conversions.cc deps/v8/src/inspector/v8-string-conversions.cc
-index 0c75e66b972..8cf19be816c 100644
---- deps/v8/src/inspector/v8-string-conversions.cc
-+++ deps/v8/src/inspector/v8-string-conversions.cc
-@@ -12,7 +12,7 @@ namespace {
-
- namespace v8_inspector {
- namespace {
--using UChar = uint16_t;
-+using UChar = char16_t;
- using UChar32 = uint32_t;
-
- bool isASCII(UChar c) { return !(c & ~0x7F); }
-@@ -386,7 +386,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* strin
-
- std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) {
- if (!stringStart || !length) return std::basic_string<UChar>();
-- std::vector<uint16_t> buffer(length);
-+ std::vector<UChar> buffer(length);
- UChar* bufferStart = buffer.data();
-
- UChar* bufferCurrent = bufferStart;
-@@ -395,7 +395,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* strin
- reinterpret_cast<const char*>(stringStart + length),
- &bufferCurrent, bufferCurrent + buffer.size(), nullptr,
- true) != conversionOK)
-- return std::basic_string<uint16_t>();
-+ return std::basic_string<UChar>();
- size_t utf16Length = bufferCurrent - bufferStart;
- return std::basic_string<UChar>(bufferStart, bufferStart + utf16Length);
- }
-diff --git deps/v8/src/inspector/v8-string-conversions.h deps/v8/src/inspector/v8-string-conversions.h
-index eb33c6816a5..1126255dac2 100644
---- deps/v8/src/inspector/v8-string-conversions.h
-+++ deps/v8/src/inspector/v8-string-conversions.h
-@@ -5,14 +5,16 @@
- #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
- #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
-
-+#include <uchar.h>
-+
- #include <cstdint>
- #include <string>
-
- // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may
- // want to use string-16.h directly rather than these.
- namespace v8_inspector {
--std::basic_string<uint16_t> UTF8ToUTF16(const char* stringStart, size_t length);
--std::string UTF16ToUTF8(const uint16_t* stringStart, size_t length);
-+std::basic_string<char16_t> UTF8ToUTF16(const char* stringStart, size_t length);
-+std::string UTF16ToUTF8(const char16_t* stringStart, size_t length);
- } // namespace v8_inspector
-
- #endif // V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
-diff --git deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc
-index c9d89eaa42f..1a46d781b89 100644
---- deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc
-+++ deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc
-@@ -11,13 +11,16 @@ std::string UTF16ToUTF8(span<uint16_t> in) {
- namespace v8_crdtp {
-
- std::string UTF16ToUTF8(span<uint16_t> in) {
-- return v8_inspector::UTF16ToUTF8(in.data(), in.size());
-+ return v8_inspector::UTF16ToUTF8(reinterpret_cast<const char16_t*>(in.data()),
-+ in.size());
- }
-
- std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) {
-- std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16(
-+ std::basic_string<char16_t> utf16 = v8_inspector::UTF8ToUTF16(
- reinterpret_cast<const char*>(in.data()), in.size());
-- return std::vector<uint16_t>(utf16.begin(), utf16.end());
-+ return std::vector<uint16_t>(
-+ reinterpret_cast<const uint16_t*>(utf16.data()),
-+ reinterpret_cast<const uint16_t*>(utf16.data()) + utf16.size());
- }
-
- } // namespace v8_crdtp
diff --git a/www/node18/files/patch-node.gypi b/www/node18/files/patch-node.gypi
deleted file mode 100644
index d76ca9efd2f4..000000000000
--- a/www/node18/files/patch-node.gypi
+++ /dev/null
@@ -1,12 +0,0 @@
---- node.gypi.orig 2023-04-12 04:09:19 UTC
-+++ node.gypi
-@@ -349,6 +349,9 @@
- [ 'node_use_openssl=="true"', {
- 'defines': [ 'HAVE_OPENSSL=1' ],
- 'conditions': [
-+ ['openssl_no_asm==1', {
-+ 'defines': [ 'OPENSSL_NO_ASM' ],
-+ }],
- [ 'node_shared_openssl=="false"', {
- 'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ],
- 'dependencies': [
diff --git a/www/node18/files/patch-openssl3 b/www/node18/files/patch-openssl3
deleted file mode 100644
index 9066f5b9df9e..000000000000
--- a/www/node18/files/patch-openssl3
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/crypto/crypto_util.cc.orig 2023-04-12 04:09:19 UTC
-+++ src/crypto/crypto_util.cc
-@@ -195,10 +195,12 @@ void InitCryptoOnce() {
- // No-op with OPENSSL_NO_COMP builds of OpenSSL.
- sk_SSL_COMP_zero(SSL_COMP_get_compression_methods());
-
-+#if OPENSSL_VERSION_MAJOR < 3
- #ifndef OPENSSL_NO_ENGINE
- ERR_load_ENGINE_strings();
- ENGINE_load_builtin_engines();
- #endif // !OPENSSL_NO_ENGINE
-+#endif
- }
-
- void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) {
diff --git a/www/node18/files/patch-src_cares__wrap.h b/www/node18/files/patch-src_cares__wrap.h
deleted file mode 100644
index ab73ea7d2c4e..000000000000
--- a/www/node18/files/patch-src_cares__wrap.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/cares_wrap.h.orig 2023-04-12 04:09:19 UTC
-+++ src/cares_wrap.h
-@@ -23,7 +23,7 @@
- # include <netdb.h>
- #endif // __POSIX__
-
--# include <ares_nameser.h>
-+# include <arpa/nameser.h>
-
- namespace node {
- namespace cares_wrap {
diff --git a/www/node18/files/patch-tools_install.py b/www/node18/files/patch-tools_install.py
deleted file mode 100644
index 3ed0c2a799c5..000000000000
--- a/www/node18/files/patch-tools_install.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- tools/install.py.orig 2024-01-30 11:17:06 UTC
-+++ tools/install.py
-@@ -186,7 +186,7 @@ def files(action):
- action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
- action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
-
-- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
-+ if 'openbsd' in sys.platform:
- action(['doc/node.1'], 'man/man1/')
- else:
- action(['doc/node.1'], 'share/man/man1/')
diff --git a/www/node18/files/patch-tools_v8__gypfiles_v8.gyp b/www/node18/files/patch-tools_v8__gypfiles_v8.gyp
deleted file mode 100644
index 32853c6bfc17..000000000000
--- a/www/node18/files/patch-tools_v8__gypfiles_v8.gyp
+++ /dev/null
@@ -1,11 +0,0 @@
---- tools/v8_gypfiles/v8.gyp.orig 2023-04-12 04:09:21 UTC
-+++ tools/v8_gypfiles/v8.gyp
-@@ -977,7 +977,7 @@
- }],
- # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
- # to implement atomic memory access
-- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', {
-+ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "riscv64", "loong64"]', {
- 'link_settings': {
- 'libraries': ['-latomic', ],
- },