From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44E8F158020 for ; Fri, 28 Oct 2022 15:57:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83639E0536; Fri, 28 Oct 2022 15:57:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65AEDE0536 for ; Fri, 28 Oct 2022 15:57:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 639B53410C8 for ; Fri, 28 Oct 2022 15:57:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC66A61D for ; Fri, 28 Oct 2022 15:57:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1666972632.a5c7606a4cf5173622127ea833cdf7880aa786a9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/files/, net-libs/nodejs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nodejs/files/nodejs-gcc-13.patch net-libs/nodejs/nodejs-14.20.1.ebuild net-libs/nodejs/nodejs-16.17.1.ebuild net-libs/nodejs/nodejs-18.10.0.ebuild net-libs/nodejs/nodejs-18.9.1.ebuild X-VCS-Directories: net-libs/nodejs/files/ net-libs/nodejs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a5c7606a4cf5173622127ea833cdf7880aa786a9 X-VCS-Branch: master Date: Fri, 28 Oct 2022 15:57:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a6e2797-e8cd-40eb-bb95-a60324682e4f X-Archives-Hash: 075891c6cdeac4a411de8d85827e7d90 commit: a5c7606a4cf5173622127ea833cdf7880aa786a9 Author: WANG Xuerui gentoo org> AuthorDate: Wed Oct 5 08:39:01 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 28 15:57:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c7606a net-libs/nodejs: fix build on gcc-13 Closes: https://bugs.gentoo.org/865981 Closes: https://github.com/gentoo/gentoo/pull/27654 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> net-libs/nodejs/files/nodejs-gcc-13.patch | 27 +++++++++++++++++++++++++++ net-libs/nodejs/nodejs-14.20.1.ebuild | 1 + net-libs/nodejs/nodejs-16.17.1.ebuild | 1 + net-libs/nodejs/nodejs-18.10.0.ebuild | 1 + net-libs/nodejs/nodejs-18.9.1.ebuild | 1 + 5 files changed, 31 insertions(+) diff --git a/net-libs/nodejs/files/nodejs-gcc-13.patch b/net-libs/nodejs/files/nodejs-gcc-13.patch new file mode 100644 index 000000000000..13427a6b7407 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-gcc-13.patch @@ -0,0 +1,27 @@ +https://chromium-review.googlesource.com/c/v8/v8/+/3934140 +adjusted to layout of the node project +From: WANG Xuerui +Date: Tue, 4 Oct 2022 17:21:03 +0800 +Subject: [PATCH] [base] Fix build with gcc-13 + +See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes. +--- a/deps/v8/src/base/logging.h ++++ b/deps/v8/src/base/logging.h +@@ -5,6 +5,7 @@ + #ifndef V8_BASE_LOGGING_H_ + #define V8_BASE_LOGGING_H_ + ++#include + #include + #include + #include +--- a/deps/v8/src/inspector/v8-string-conversions.h ++++ b/deps/v8/src/inspector/v8-string-conversions.h +@@ -5,6 +5,7 @@ + #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ + #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ + ++#include + #include + + // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may diff --git a/net-libs/nodejs/nodejs-14.20.1.ebuild b/net-libs/nodejs/nodejs-14.20.1.ebuild index ec4700ccab22..c2dfc7980d1c 100644 --- a/net-libs/nodejs/nodejs-14.20.1.ebuild +++ b/net-libs/nodejs/nodejs-14.20.1.ebuild @@ -55,6 +55,7 @@ PATCHES=( "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-14.15.0-fix_ppc64_crashes.patch "${FILESDIR}"/${PN}-14.19.0-global-npm-config.patch + "${FILESDIR}"/${PN}-gcc-13.patch ) pkg_pretend() { diff --git a/net-libs/nodejs/nodejs-16.17.1.ebuild b/net-libs/nodejs/nodejs-16.17.1.ebuild index c1fd507566a4..9492c22083ac 100644 --- a/net-libs/nodejs/nodejs-16.17.1.ebuild +++ b/net-libs/nodejs/nodejs-16.17.1.ebuild @@ -51,6 +51,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch + "${FILESDIR}"/${PN}-gcc-13.patch ) pkg_pretend() { diff --git a/net-libs/nodejs/nodejs-18.10.0.ebuild b/net-libs/nodejs/nodejs-18.10.0.ebuild index 3ffd13f46228..fec5881c4739 100644 --- a/net-libs/nodejs/nodejs-18.10.0.ebuild +++ b/net-libs/nodejs/nodejs-18.10.0.ebuild @@ -51,6 +51,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch + "${FILESDIR}"/${PN}-gcc-13.patch ) # These are measured on a loong machine with -ggdb on, and only checked diff --git a/net-libs/nodejs/nodejs-18.9.1.ebuild b/net-libs/nodejs/nodejs-18.9.1.ebuild index 9d98aef6f3b6..c4fe0dccc534 100644 --- a/net-libs/nodejs/nodejs-18.9.1.ebuild +++ b/net-libs/nodejs/nodejs-18.9.1.ebuild @@ -51,6 +51,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-12.22.5-shared_c-ares_nameser_h.patch "${FILESDIR}"/${PN}-15.2.0-global-npm-config.patch + "${FILESDIR}"/${PN}-gcc-13.patch ) # These are measured on a loong machine with -ggdb on, and only checked