0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 03:46:15 +00:00
termux-packages/disabled-packages/kcoreaddons/no_redefinition_kuser_unix.patch
2024-10-18 14:45:21 +03: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