0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/kf6-kcoreaddons/no_redefinition_kuser_unix.patch
2024-07-01 09:38:38 +00:00

24 lines
570 B
Diff

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