diff -uNr kcoreaddons-5.99.0/src/lib/util/kuser_unix.cpp kcoreaddons-5.99.0.mod/src/lib/util/kuser_unix.cpp
--- kcoreaddons-5.99.0/src/lib/util/kuser_unix.cpp	2022-10-01 22:14:02.000000000 +0800
+++ kcoreaddons-5.99.0.mod/src/lib/util/kuser_unix.cpp	2022-11-12 15:17:30.688161637 +0800
@@ -30,19 +30,6 @@
 inline void setpwent()
 {
 }
-static inline void setgrent()
-{
-}
-static inline struct group *getgrent()
-{
-    return nullptr;
-}
-inline void endpwent()
-{
-}
-static inline void endgrent()
-{
-}
 #endif
 
 // Only define os_pw_size() if it's going to be used
