Diff linux-headers-5.10-r2 with a linux-headers-5.15-r3

/usr/portage/sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild 2025-10-09 18:21:06.195283885 +0300
10 10

  
11 11
PATCH_PV=${PV} # to ease testing new versions against not existing patches
12 12
PATCH_VER="1"
13
PATCH_DEV="sam"
13 14
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
"
15
	${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
17 16
S="${WORKDIR}/linux-${PV}"
18 17

  
19 18
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
......
23 22
	dev-lang/perl
24 23
	net-misc/rsync"
25 24

  
25
# bug #816762
26
RESTRICT="test"
27

  
26 28
[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
27 29

  
28 30
src_unpack() {
......
34 36
	# TODO: May need forward porting to newer versions
35 37
	use elibc_musl && PATCHES+=(
36 38
		"${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch
39
		"${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch
37 40
	)
38 41

  
39 42
	# avoid kernel-2_src_prepare
Thank you!