File kernel68.patch of Package rtl8192eu
diff -U 3 -H -d -r -N -- a/Makefile b/Makefile
--- a/Makefile 2023-03-17 20:50:54.000000000 +0100
+++ b/Makefile 2024-01-31 14:03:29.160038668 +0100
@@ -13,6 +13,8 @@
ccflags-y += -Wno-unused
ccflags-y += -Wno-implicit-fallthrough
#ccflags-y += -Wno-uninitialized
+ccflags-y += -Wno-missing-prototypes
+ccflags-y += -Wno-missing-declarations
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | `which bc` )
ifeq ($(GCC_VER_49),1)
diff -U 3 -H -d -r -N -- a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
--- a/os_dep/linux/os_intfs.c 2023-06-22 10:25:55.000000000 +0200
+++ b/os_dep/linux/os_intfs.c 2024-01-31 14:03:53.887421027 +0100
@@ -17,6 +17,10 @@
#include <drv_types.h>
#include <hal_data.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
+#define strlcpy strscpy
+#endif
+
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
MODULE_AUTHOR("Realtek Semiconductor Corp.");