This switches to the gnome-2.30 release branch pkgsrc note: temporarily add a dependency on libgnome-keyring which was split out of the old gnome-keyring pkg, so that client pkgs get the same as before
21 lines
801 B
Text
21 lines
801 B
Text
$NetBSD: patch-ad,v 1.7 2010/06/11 13:45:50 drochner Exp $
|
|
|
|
--- egg/egg-unix-credentials.c.orig 2009-12-15 04:00:09.000000000 +0000
|
|
+++ egg/egg-unix-credentials.c
|
|
@@ -127,7 +127,6 @@ egg_unix_credentials_read (int sock, pid
|
|
cred = (struct sockcred *) CMSG_DATA (&cmsg.hdr);
|
|
*pid = 0;
|
|
*uid = cred->sc_euid;
|
|
- set_local_creds(sock, 0);
|
|
#elif defined(HAVE_GETPEEREID) /* OpenBSD */
|
|
uid_t euid;
|
|
gid_t egid;
|
|
@@ -215,7 +214,7 @@ egg_unix_credentials_setup (int sock)
|
|
#if defined(LOCAL_CREDS) && !defined(HAVE_CMSGCRED)
|
|
int val = 1;
|
|
if (setsockopt (sock, 0, LOCAL_CREDS, &val, sizeof (val)) < 0) {
|
|
- fprintf (stderr, "unable to set LOCAL_CREDS socket option on fd %d\n", fd);
|
|
+ fprintf (stderr, "unable to set LOCAL_CREDS socket option on fd %d\n", sock);
|
|
retval = -1;
|
|
}
|
|
#endif
|