commit: 35bb41a62e67f0c3f1dd98085de6667867152467 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Thu Apr 27 02:21:45 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Thu Apr 27 02:26:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bb41a6
net-libs/nodejs: fix gcc 13 compilation error Bug: https://bugs.gentoo.org/904878 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> net-libs/nodejs/nodejs-16.20.0.ebuild | 4 ++++ net-libs/nodejs/nodejs-18.16.0.ebuild | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/net-libs/nodejs/nodejs-16.20.0.ebuild b/net-libs/nodejs/nodejs-16.20.0.ebuild index 09daf572fc6a..623f8f78239a 100644 --- a/net-libs/nodejs/nodejs-16.20.0.ebuild +++ b/net-libs/nodejs/nodejs-16.20.0.ebuild @@ -48,6 +48,10 @@ BDEPEND="${PYTHON_DEPS} pax-kernel? ( sys-apps/elfix )" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-fix-incomplete-type.patch +) + pkg_pretend() { (use x86 && ! use cpu_flags_x86_sse2) && \ die "Your CPU doesn't support the required SSE2 instruction." diff --git a/net-libs/nodejs/nodejs-18.16.0.ebuild b/net-libs/nodejs/nodejs-18.16.0.ebuild index aa505edb748c..e6ac48d8cc4f 100644 --- a/net-libs/nodejs/nodejs-18.16.0.ebuild +++ b/net-libs/nodejs/nodejs-18.16.0.ebuild @@ -58,6 +58,10 @@ DEPEND="${RDEPEND}" CHECKREQS_MEMORY="8G" CHECKREQS_DISK_BUILD="22G" +PATCHES=( + "${FILESDIR}"/${PN}-fix-incomplete-type.patch +) + pkg_pretend() { (use x86 && ! use cpu_flags_x86_sse2) && \ die "Your CPU doesn't support the required SSE2 instruction."