Created attachment 887456 [details, diff] use strscpy instead of strlcpy Linux 6.8 removed strlcpy, so using strscpy is necessary on newer kernels.
Sorry I missed this; the upstream patched repo I'm using didn't have this change split out. Your patch looks good and I'll PR it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458ac56c274e347c83fc5b87ea376fc1b57ef3a2 commit 458ac56c274e347c83fc5b87ea376fc1b57ef3a2 Author: Jay Faulkner <jay@jvf.cc> AuthorDate: 2024-03-25 22:34:35 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-03-29 13:54:42 +0000 net-misc/r8152: fix bug 926829; build on kernel >=6.8 Imports patch from bug 926829 to fix build issues on linux kernels 6.8 or newer. Closes: https://bugs.gentoo.org/926829 Signed-off-by: Jay Faulkner <jay@jvf.cc> Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../files/r8152-2.17.1-kernel-6.8-strscpy.patch | 32 ++++++++++++++++++++++ net-misc/r8152/r8152-2.17.1.ebuild | 3 +- 2 files changed, 34 insertions(+), 1 deletion(-)