aboutsummaryrefslogtreecommitdiff
path: root/security/gnome-keyring
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-11 20:52:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-11 20:52:07 +0000
commitccdcd229d6cb5881f0dfe839c7969c0ea25336d5 (patch)
treef8d60d74d22943de9584682964da4e6b4bd86d8d /security/gnome-keyring
parent3f5d48af9ee4a5345e986c2eddbd39d4876b41ca (diff)
downloadports-ccdcd229d6cb5881f0dfe839c7969c0ea25336d5.tar.gz
ports-ccdcd229d6cb5881f0dfe839c7969c0ea25336d5.zip
Notes
Diffstat (limited to 'security/gnome-keyring')
-rw-r--r--security/gnome-keyring/files/patch-gnome-keyring-daemon-io.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/security/gnome-keyring/files/patch-gnome-keyring-daemon-io.c b/security/gnome-keyring/files/patch-gnome-keyring-daemon-io.c
deleted file mode 100644
index 84e2756577da..000000000000
--- a/security/gnome-keyring/files/patch-gnome-keyring-daemon-io.c
+++ /dev/null
@@ -1,35 +0,0 @@
---- gnome-keyring-daemon-io.c.orig Tue May 11 15:31:33 2004
-+++ gnome-keyring-daemon-io.c Tue May 11 16:27:21 2004
-@@ -99,7 +99,7 @@
- struct iovec iov;
- char buf;
-
--#ifdef HAVE_CMSGCRED
-+#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
- char cmsgmem[CMSG_SPACE (sizeof (struct cmsgcred))];
- struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem;
- #endif
-@@ -118,18 +118,17 @@
- }
- #endif
-
-- iov.iov_base = &buf;
-- iov.iov_len = 1;
--
- memset (&msg, 0, sizeof (msg));
- msg.msg_iov = &iov;
- msg.msg_iovlen = 1;
-
--#ifdef HAVE_CMSGCRED
-- memset (cmsgmem, 0, sizeof (cmsgmem));
-- msg.msg_control = cmsgmem;
-+#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS)
-+ msg.msg_control = (char *) cmsg;
- msg.msg_controllen = sizeof (cmsgmem);
-+ memset (cmsg, 0, sizeof (cmsgmem));
- #endif
-+ iov.iov_base = &buf;
-+ iov.iov_len = 1;
-
- again:
- if (recvmsg (fd, &msg, 0) < 0) {