Diff rust-1.66.1 with a rust-1.67.1-r1

/usr/portage/dev-lang/rust/rust-1.67.1-r1.ebuild 2023-10-09 14:52:29.476368350 +0300
19 19
	SLOT="stable/${ABI_VER}"
20 20
	MY_P="rustc-${PV}"
21 21
	SRC="${MY_P}-src.tar.xz"
22
	KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86"
22
	KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
23 23
fi
24 24

  
25
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
25
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1"
26 26

  
27 27
DESCRIPTION="Systems programming language from Mozilla"
28 28
HOMEPAGE="https://www.rust-lang.org/"
......
164 164
PATCHES=(
165 165
	"${FILESDIR}"/1.65.0-ignore-broken-and-non-applicable-tests.patch
166 166
	"${FILESDIR}"/1.62.1-musl-dynamic-linking.patch
167
	"${FILESDIR}"/1.64.0-vendor-rustix-sparc-has-no-SIGSTKFLT.patch
167
	"${FILESDIR}"/1.67.0-doc-wasm.patch
168
	"${FILESDIR}"/1.67.1-rustc_expand.patch
168 169
)
169 170

  
170 171
S="${WORKDIR}/${MY_P}-src"
......
282 283
}
283 284

  
284 285
src_prepare() {
285
	# this supidity is needed because patch is too large to be in filesdir
286
	# and if we move it to devspace - it lacks checksum for sig verification
287
	if [[ "${PV}" == 1.66.1 ]]; then
288
			sed -i \
289
			-e 's/516ba32a547b46a8e80ad20d4a17bf24a00bff0b69b74f56df119f770f3dfff6/fc7eb88c2f5104865379128b76767d36ce5b5fdb9f3483e683d150e514ebc3a3/' \
290
			-e 's/fba10dc8ca9eaf4d481cb82bd1540cf5c05620533c44f917c09a22ea55ef408c/9cc4d1b4511a1f0d91231eb0f11c67ae5e8e38e4becd0bf5eb9e26d043796056/' \
291
			vendor/rustix/.cargo-checksum.json || die
292
	else
293
		die "remove sed mr forgetful maintainer"
294
	fi
295 286
	if ! use system-bootstrap; then
296 287
		has_version sys-devel/gcc || esetup_unwind_hack
297 288
		local rust_stage0_root="${WORKDIR}"/rust-stage0
298 289
		local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
299 290

  
300 291
		"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
301
			--without=rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
292
			--without=rust-docs-json-preview,rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
302 293
	fi
303 294

  
304 295
	default
Thank you!