Also, python-2.5 is supposed to be sufficient to compile
kdebase-runtime-4.4.5, but I have only had success if python-2.6 is
installed.

On Fri, Jul 16, 2010 at 12:48 PM, Grant Friday <gsfri...@gmail.com> wrote:

> Seems like kdebase-runtime-4.4.5/kdesu/kdesud/secure.cpp is using ucred
> instead of sockpeercred from socket.h and thus will not compile.  The diff
> to patch this follows:
>
> --- secure.cpp.orig     Thu Aug  7 10:21:07 2008
> +++ secure.cpp  Fri Jul 16 12:41:33 2010
> @@ -34,8 +34,8 @@
>
>  SocketSecurity::SocketSecurity(int sockfd) : pid(-1), gid(-1), uid(-1)
>  {
> -    ucred cred;
> -    ksocklen_t len = sizeof(struct ucred);
> +    sockpeercred cred;
> +    ksocklen_t len = sizeof(struct sockpeercred);
>      if (getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cred, &len) < 0) {
>         kError() << "getsockopt(SO_PEERCRED) " << perror << endl;
>         return;
>

Reply via email to