diff --git a/x11/gnome/keyring/patches/patch-egg_egg-unix-credentials_c b/x11/gnome/keyring/patches/patch-egg_egg-unix-credentials_c new file mode 100644 index 00000000000..768b72dfe3e --- /dev/null +++ b/x11/gnome/keyring/patches/patch-egg_egg-unix-credentials_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-egg_egg-unix-credentials_c,v 1.1 2010/07/03 16:47:44 naddy Exp $ +--- egg/egg-unix-credentials.c.orig Sat Jul 3 10:38:55 2010 ++++ egg/egg-unix-credentials.c Sat Jul 3 10:39:12 2010 +@@ -107,7 +107,7 @@ egg_unix_credentials_read (int sock, pid_t *pid, uid_t + + { + #ifdef SO_PEERCRED +- struct ucred cr; ++ struct sockpeercred cr; + socklen_t cr_len = sizeof (cr); + + if (getsockopt (sock, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) == 0 &&