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 2023-10-09 14:52:35.532368502 +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 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
... | ... | |
22 | 21 |
app-arch/xz-utils |
23 | 22 |
dev-lang/perl" |
24 | 23 | |
24 |
# bug #816762 |
|
25 |
RESTRICT="test" |
|
26 | ||
25 | 27 |
[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} ) |
26 | 28 | |
27 | 29 |
src_unpack() { |
... | ... | |
33 | 35 |
# TODO: May need forward porting to newer versions |
34 | 36 |
use elibc_musl && PATCHES+=( |
35 | 37 |
"${FILESDIR}"/${PN}-5.10-Use-stddefs.h-instead-of-compiler.h.patch |
38 |
"${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch |
|
36 | 39 |
) |
37 | 40 | |
38 | 41 |
# avoid kernel-2_src_prepare |