termux-packages/x11-packages/kcoreaddons/no_redefinition_kuser_unix.patch
Leonid Pliushch 6b005dc609
enable more qt5-dependent packages
%ci:no-build
2022-04-18 14:48:05 +05:30

14 lines
532 B
Diff

--- src/src/lib/util/kuser_unix.cpp 2021-05-19 15:27:34.057310497 +0100
+++ src.mod/src/lib/util/kuser_unix.cpp 2021-05-19 15:27:55.301184843 +0100
@@ -25,10 +25,6 @@
#if defined(__BIONIC__) && __ANDROID_API__ < 26
static inline struct passwd * getpwent() { return nullptr; }
inline void setpwent() { }
-static inline void setgrent() { }
-static inline struct group * getgrent() { return nullptr; }
-inline void endpwent() { }
-static inline void endgrent() { }
#endif
class Q_DECL_HIDDEN KUser::Private : public QSharedData