Сравнение nodejs-18.18.0 с nodejs-20.6.1

/usr/portage/net-libs/nodejs/nodejs-20.6.1.ebuild 2023-10-09 14:52:34.596368479 +0300
20 20
else
21 21
	SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz"
22 22
	SLOT="0/$(ver_cut 1)"
23
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos"
23
	KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x64-macos"
24 24
	S="${WORKDIR}/node-v${PV}"
25 25
fi
26 26

  
27
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl systemtap test"
27
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu inspector lto +npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
28 28
REQUIRED_USE="corepack? ( !npm )
29 29
	inspector? ( icu ssl )
30 30
	npm? ( ssl )
31 31
	system-icu? ( icu )
32
	system-ssl? ( ssl )"
32
	system-ssl? ( ssl )
33
	x86? ( cpu_flags_x86_sse2 )"
33 34

  
34 35
RESTRICT="!test? ( test )"
35 36

  
......
43 44
	system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
44 45
	sys-devel/gcc:*"
45 46
BDEPEND="${PYTHON_DEPS}
47
	dev-util/ninja
46 48
	sys-apps/coreutils
47 49
	virtual/pkgconfig
48
	systemtap? ( dev-util/systemtap )
49 50
	test? ( net-misc/curl )
50 51
	pax-kernel? ( sys-apps/elfix )"
51 52
DEPEND="${RDEPEND}"
......
60 61
CHECKREQS_MEMORY="8G"
61 62
CHECKREQS_DISK_BUILD="22G"
62 63

  
63
pkg_pretend() {
64
	(use x86 && ! use cpu_flags_x86_sse2) && \
65
		die "Your CPU doesn't support the required SSE2 instruction."
64
PATCHES=(
65
	"${FILESDIR}"/"${PN}"-20.3.0-gcc14.patch
66
	)
66 67

  
68
pkg_pretend() {
67 69
	if [[ ${MERGE_TYPE} != "binary" ]]; then
68 70
		if is-flagq "-g*" && ! is-flagq "-g*0" ; then
69 71
			einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS"
......
106 108
	fi
107 109

  
108 110
	# We need to disable mprotect on two files when it builds Bug 694100.
109
	use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-18.16.0-paxmarking.patch )
111
	use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-20.6.0-paxmarking.patch )
110 112

  
111 113
	default
112 114
}
......
124 126
	tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
125 127

  
126 128
	local myconf=(
129
		--ninja
127 130
		--shared-brotli
128 131
		--shared-cares
129 132
		--shared-libuv
......
168 171
	"${EPYTHON}" configure.py \
169 172
		--prefix="${EPREFIX}"/usr \
170 173
		--dest-cpu=${myarch} \
171
		$(use_with systemtap dtrace) \
172 174
		"${myconf[@]}" || die
173 175
}
174 176

  
175 177
src_compile() {
176
	emake -C out
178
	emake
177 179
}
178 180

  
179 181
src_install() {
......
236 238

  
237 239
src_test() {
238 240
	local drop_tests=(
241
		test/parallel/test-fs-read-stream.js
239 242
		test/parallel/test-dns-setserver-when-querying.js
240 243
		test/parallel/test-fs-mkdir.js
241 244
		test/parallel/test-fs-utimes-y2K38.js
245
		test/parallel/test-fs-watch-recursive-add-file.js
242 246
		test/parallel/test-release-npm.js
243 247
		test/parallel/test-socket-write-after-fin-error.js
244 248
		test/parallel/test-strace-openat-openssl.js
Спасибо!