nodejs: Fix build with gcc13

* MJ: remove AUTHORS modification from the original patch from
  nodejs-16, so that the same patch does apply for both 14 and 12
  versions used in dunfell

* MJ: gcc-13 isn't used for target builds in dunfell, but can be used
  on host, so this is useful backport for nodejs-native

* MJ: this fixes default nodejs-native-12, nodejs-native-14 with negative
  D_P might need additional fix on top

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2023-07-23 18:05:53 +02:00
committed by Armin Kuster
parent 3c62000f88
commit 0aa6a3ddc6
3 changed files with 65 additions and 0 deletions
@@ -29,6 +29,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
file://CVE-2022-32212.patch \
file://CVE-2022-35255.patch \
file://CVE-2022-43548.patch \
file://gcc13.patch \
"
SRC_URI:append:class-target = " \
file://0002-Using-native-binaries-nodejs14.patch \