From 97916583d5f64521cc8d1b5313c1be895db0ecad Mon Sep 17 00:00:00 2001 From: Yauhen Pahrabniak Date: Wed, 30 Oct 2024 13:01:59 +0100 Subject: [PATCH] update to NodeJS 22.11.0 --- node | 2 +- patches/enable_rtti.patch | 29 ++++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/node b/node index b096e41..4e0f277 160000 --- a/node +++ b/node @@ -1 +1 @@ -Subproject commit b096e41b48ef098638635326c60084b932d56129 +Subproject commit 4e0f2773ff9465148a654dd0a2c1668104c20fec diff --git a/patches/enable_rtti.patch b/patches/enable_rtti.patch index 433561e..8fd9e26 100644 --- a/patches/enable_rtti.patch +++ b/patches/enable_rtti.patch @@ -1,16 +1,3 @@ -diff --git forkSrcPrefix/common.gypi forkDstPrefix/common.gypi -index 32a298414b5392f0d083f573f129fdc6dac85cfd..4bfda1278552aaf3364b2c9612e205040eb9e464 100644 ---- forkSrcPrefix/common.gypi -+++ forkDstPrefix/common.gypi -@@ -489,7 +489,7 @@ - }], - [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', { - 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], -- 'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++17' ], -+ 'cflags_cc': [ '-fno-exceptions', '-std=gnu++20' ], - 'defines': [ '__STDC_FORMAT_MACROS' ], - 'ldflags': [ '-rdynamic' ], - 'target_conditions': [ diff --git forkSrcPrefix/tools/v8_gypfiles/features.gypi forkDstPrefix/tools/v8_gypfiles/features.gypi index 6e21dac6d70ede1f6dbd6a525fb9f111d6c2eb96..bbe0a0b033f1c48119a5e73874b8d17df9e292a9 100644 --- forkSrcPrefix/tools/v8_gypfiles/features.gypi @@ -25,3 +12,19 @@ index 6e21dac6d70ede1f6dbd6a525fb9f111d6c2eb96..bbe0a0b033f1c48119a5e73874b8d17d }, 'target_defaults': { +diff --git forkSrcPrefix/common.gypi forkDstPrefix/common.gypi +index de83a566724a36fff8b0c4ca9ba7e151a8c39f54..e1ccc53bdc0b83fd225354c1551fda8a66c57099 100644 +--- forkSrcPrefix/common.gypi ++++ forkDstPrefix/common.gypi +@@ -490,10 +490,9 @@ + [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', { + 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], + 'cflags_cc': [ +- '-fno-rtti', + '-fno-exceptions', + '-fno-strict-aliasing', +- '-std=gnu++17', ++ '-std=gnu++20', + ], + 'defines': [ '__STDC_FORMAT_MACROS' ], + 'ldflags': [ '-rdynamic' ],