diff --git a/local/recipes/kde/kf6-pty/recipe.toml b/local/recipes/kde/kf6-pty/recipe.toml index fd05770cae..c87310c588 100644 --- a/local/recipes/kde/kf6-pty/recipe.toml +++ b/local/recipes/kde/kf6-pty/recipe.toml @@ -47,6 +47,7 @@ cmake "${COOKBOOK_SOURCE}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" \ -DBUILD_TESTING=OFF \ + -DCMAKE_DISABLE_FIND_PACKAGE_UTEMPTER=ON \ -DBUILD_QCH=OFF \ -DHAVE_PTSNAME=TRUE \ -DHAVE_GRANTPT=TRUE \ diff --git a/local/recipes/kde/kf6-pty/source/src/kpty.cpp b/local/recipes/kde/kf6-pty/source/src/kpty.cpp index 272ad71e05..98a4d311b9 100644 --- a/local/recipes/kde/kf6-pty/source/src/kpty.cpp +++ b/local/recipes/kde/kf6-pty/source/src/kpty.cpp @@ -540,6 +540,9 @@ void KPty::login(const char *user, const char *remotehost) endutent(); updwtmp(_PATH_WTMP, &l_struct); #endif +#endif // HAVE_LOGIN +#endif // UTEMPTER_PATH +#endif // __redox__ } void KPty::logout() @@ -621,6 +624,9 @@ void KPty::logout() } endutent(); #endif +#endif // HAVE_LOGIN +#endif // UTEMPTER_PATH +#endif // __redox__ } bool KPty::tcGetAttr(struct ::termios *ttmode) const