From 7231349786d8e6fce02ca0840abf58ca4ca084e4 Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Mon, 27 Apr 2026 17:27:19 -0700 Subject: [PATCH] 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 --- net-misc/r8152/r8152-2.20.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net-misc/r8152/r8152-2.20.1-r1.ebuild b/net-misc/r8152/r8152-2.20.1-r1.ebuild index 5dc6f5b5c240e..a351340d82e0e 100644 --- a/net-misc/r8152/r8152-2.20.1-r1.ebuild +++ b/net-misc/r8152/r8152-2.20.1-r1.ebuild @@ -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() {