summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-07 18:44:51 +0100
committerSam James <sam@gentoo.org>2024-05-07 18:46:20 +0100
commit032d6c63320058503aaba7cc0945965a667b1e79 (patch)
tree744b25bd35fa93c73d6319782a15ead492ea57f1 /net-libs
parentdev-python/django: Bump to 4.2.13 (diff)
downloadgentoo-032d6c63320058503aaba7cc0945965a667b1e79.tar.gz
gentoo-032d6c63320058503aaba7cc0945965a667b1e79.tar.bz2
gentoo-032d6c63320058503aaba7cc0945965a667b1e79.zip
net-libs/nodejs: fix build with GCC 14 (update simdjson to 3.9.1)
Bug: https://bugs.gentoo.org/931267 Closes: https://bugs.gentoo.org/931150 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/Manifest1
-rw-r--r--net-libs/nodejs/nodejs-22.1.0.ebuild6
2 files changed, 7 insertions, 0 deletions
diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 48df825be50f..465537b3fcfc 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -7,3 +7,4 @@ DIST node-v20.12.1.tar.xz 41743360 BLAKE2B 1e2819724051720321a429bb18967a12608e8
DIST node-v20.12.2.tar.xz 41634476 BLAKE2B 4a402cd4d2a3d59e249581b8dafbd09802f1fc6c1173810a7198ebf73bbe9ccbe085226c1889461d6faa2654138f21a2636594dca1a02847af9fd64ef80293e5 SHA512 2ff2873f3e1a15d529d07a74af601194c9dc7c24e566b989c96fadda8636d7ea1c97787642e9483a00db320cf1cf0817b43c4ba3ad45b15a241997c9f0c6c288
DIST node-v20.6.1.tar.xz 41791920 BLAKE2B c131aa9dd2a155eb24dda80e4997895aab7d935e46d1f21e9e176aa15021aa68be41f49cc43557f0b2c962baf3b2da4ea0ba044efd5016ea58bf2dc0b76c4edd SHA512 8a6d998ae9b52872ff8cdcd44261f644161f31bcb565329ae05e68945c8da939eabcb76d2e0f628c8eb634de37d7b16334823f64122e4483c390117d8aa511bf
DIST node-v22.1.0.tar.xz 44377532 BLAKE2B 161618a71d8f2c5f828e29e45f5eb410fb2c6695012ca7559bddbe3884e578d643414ebf59c1b3292dbe93bf115de43c4145f6ff24e11fb9e87a32cf4eff1859 SHA512 d991fe069e43cfab587f06e81df71b56b82fbdd7042cdbe46136fc9ccad654d6f8bd39ec9fd3a5c00fe73a82732b12e13632c26602c6f8d67c628938c2a55688
+DIST nodejs-22.1.0-deps-import-simdjson-3.9.1-for-GCC-14.patch.xz 192248 BLAKE2B 8acd447cea7ce7d68750c89a1778f0b43279ecd3b7fdbc4db36b9d0f97974efc6769266fbde2934b80e96db5a11f2550098b92d74ef72708d6e2cf542ebf0060 SHA512 7fe3f057b8785ff944cee5ad185a8708ee114f86344b9199f03443d149bc26bd2434c1ad32b8eb388f982f90632643b28aeff60177403c4851d3e7897b0272a6
diff --git a/net-libs/nodejs/nodejs-22.1.0.ebuild b/net-libs/nodejs/nodejs-22.1.0.ebuild
index 1b36063a673d..e35427690118 100644
--- a/net-libs/nodejs/nodejs-22.1.0.ebuild
+++ b/net-libs/nodejs/nodejs-22.1.0.ebuild
@@ -19,6 +19,8 @@ if [[ ${PV} == *9999 ]]; then
SLOT="0"
else
SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz"
+ # We need this until simdjson is updated to 3.9.1 in nodejs (bug 931150)
+ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/net-libs/nodejs/nodejs-22.1.0-deps-import-simdjson-3.9.1-for-GCC-14.patch.xz"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos"
S="${WORKDIR}/node-v${PV}"
@@ -60,6 +62,10 @@ DEPEND="${RDEPEND}"
CHECKREQS_MEMORY="8G"
CHECKREQS_DISK_BUILD="22G"
+PATCHES=(
+ "${WORKDIR}"/nodejs-22.1.0-deps-import-simdjson-3.9.1-for-GCC-14.patch
+)
+
pkg_pretend() {
if [[ ${MERGE_TYPE} != "binary" ]]; then
if is-flagq "-g*" && ! is-flagq "-g*0" ; then