Сравнение linux-headers-4.19-r1 с linux-headers-5.4-r2

/usr/portage/sys-kernel/linux-headers/linux-headers-5.4-r2.ebuild 2023-10-09 14:52:35.532368502 +0300
8 8
inherit kernel-2 toolchain-funcs
9 9
detect_version
10 10

  
11
PATCH_VER="1"
12
SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
13
	https://dev.gentoo.org/~sam/distfiles/gentoo-headers-base-${PV}.tar.xz
14
	${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
15
	${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
16
S="${WORKDIR}/gentoo-headers-base-${PV}"
11
PATCH_PV=${PV} # to ease testing new versions against not existing patches
12
PATCH_VER="2"
13
SRC_URI="${KERNEL_URI}
14
	${PATCH_VER:+mirror://gentoo/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
15
	${PATCH_VER:+https://dev.gentoo.org/~sam/distfiles/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}
16
"
17
S="${WORKDIR}/linux-${PV}"
17 18

  
18 19
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
19 20

  
......
21 22
	app-arch/xz-utils
22 23
	dev-lang/perl"
23 24

  
24
[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PV} )
25
[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
25 26

  
26 27
src_unpack() {
27 28
	# avoid kernel-2_src_unpack
......
34 35
}
35 36

  
36 37
src_test() {
37
	einfo "Possible unescaped attribute/type usage"
38
	grep -E -r \
39
		-e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
40
		-e '\<([us](8|16|32|64))\>' \
41
		.
42

  
43 38
	emake ARCH="$(tc-arch-kernel)" headers_check
44 39
}
45 40

  
Спасибо!