net-misc/r8152: fix 2.20.1-r1 with linux >=7.0

This adds a minimal patch, described in more detail in the previous
commit, to enable this to build on linux kernel >=7.0. While the
original patch targets an newer version, it applies cleanly and is
effective.

Closes: https://bugs.gentoo.org/973272
Related: https://github.com/wget/realtek-r8152-linux/issues/57
Signed-off-by: Jay Faulkner <jayf@gentoo.org>
This commit is contained in:
Jay Faulkner
2026-04-27 17:27:19 -07:00
parent a6de199aab
commit 7231349786

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,6 +28,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.16.3-kernel-6.4.10-fix.patch
"${FILESDIR}"/${PN}-2.16.3-asus-c5000-support.patch
"${FILESDIR}"/${PN}-2.20.1-6.16-fix.patch
"${FILESDIR}"/${PN}-2.21.4-7.0-fix.patch
)
src_compile() {