summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-13 02:34:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-13 02:34:19 +0800
commit16c73b94484880f65c17a1ec788861a17cad9b07 (patch)
treeb04e5c65d21c1d3e06f24651ea73b265942668fc /security/gnome-keyring/files
parente669987ff342b7a63154b6ca28f89ae08a421d3b (diff)
downloadmarcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar.gz
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar.bz2
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar.lz
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar.xz
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.tar.zst
marcuscom-ports-16c73b94484880f65c17a1ec788861a17cad9b07.zip
Update to 0.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6409 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/gnome-keyring/files')
-rw-r--r--security/gnome-keyring/files/patch-gnome-keyring.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/security/gnome-keyring/files/patch-gnome-keyring.c b/security/gnome-keyring/files/patch-gnome-keyring.c
new file mode 100644
index 000000000..27a981e6c
--- /dev/null
+++ b/security/gnome-keyring/files/patch-gnome-keyring.c
@@ -0,0 +1,30 @@
+--- gnome-keyring.c.orig Mon Apr 24 06:21:29 2006
++++ gnome-keyring.c Mon Jun 12 14:24:47 2006
+@@ -275,9 +275,9 @@ write_credentials_byte_sync (int socket)
+ msg.msg_control = (caddr_t) &cmsg;
+ msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred));
+ memset (&cmsg, 0, sizeof (cmsg));
+- cmsg->cmsg_len = CMSG_LEN (sizeof (struct cmsgcred));
+- cmsg->cmsg_level = SOL_SOCKET;
+- cmsg->cmsg_type = SCM_CREDS;
++ cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred));
++ cmsg.hdr.cmsg_level = SOL_SOCKET;
++ cmsg.hdr.cmsg_type = SCM_CREDS;
+ #endif
+
+ again:
+@@ -324,10 +324,10 @@ write_credentials_byte (GnomeKeyringOper
+
+ msg.msg_control = (caddr_t) &cmsg;
+ msg.msg_controllen = CMSG_SPACE (sizeof (struct cmsgcred));
+- memset (cmsg, 0, sizeof (cmsg));
+- cmsg->cmsg_len = CMSG_LEN (sizeof (struct cmsgcred));
+- cmsg->cmsg_level = SOL_SOCKET;
+- cmsg->cmsg_type = SCM_CREDS;
++ memset (&cmsg, 0, sizeof (cmsg));
++ cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred));
++ cmsg.hdr.cmsg_level = SOL_SOCKET;
++ cmsg.hdr.cmsg_type = SCM_CREDS;
+ #endif
+
+ again: