aboutsummaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-05-12 09:01:46 +0800
committermarcus <marcus@FreeBSD.org>2004-05-12 09:01:46 +0800
commit38b1484590386781d27aa2d46bbafba256849c18 (patch)
tree95f8bf15be724222edf37371484f950c465c0523 /security/gnome-keyring
parent01ab5801636c6bd28e0456f0078db17064dbd7d3 (diff)
downloadfreebsd-ports-gnome-38b1484590386781d27aa2d46bbafba256849c18.tar.gz
freebsd-ports-gnome-38b1484590386781d27aa2d46bbafba256849c18.tar.zst
freebsd-ports-gnome-38b1484590386781d27aa2d46bbafba256849c18.zip
Fix build on 4.X by making sure sys/uio.h is included before using struct iov.
PR: 66550
Diffstat (limited to 'security/gnome-keyring')
-rw-r--r--security/gnome-keyring/files/patch-gnome-keyring.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/security/gnome-keyring/files/patch-gnome-keyring.c b/security/gnome-keyring/files/patch-gnome-keyring.c
index c798f8e0bc5a..c1abd3a28283 100644
--- a/security/gnome-keyring/files/patch-gnome-keyring.c
+++ b/security/gnome-keyring/files/patch-gnome-keyring.c
@@ -1,6 +1,14 @@
---- gnome-keyring.c.orig Tue May 11 15:45:22 2004
-+++ gnome-keyring.c Tue May 11 16:22:21 2004
-@@ -248,11 +248,37 @@
+--- gnome-keyring.c.orig Mon Jan 12 04:37:31 2004
++++ gnome-keyring.c Tue May 11 20:59:40 2004
+@@ -35,6 +35,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <sys/uio.h>
+ #include <sys/un.h>
+ #include <stdarg.h>
+
+@@ -248,11 +249,37 @@
{
char buf;
int bytes_written;
@@ -39,7 +47,7 @@
if (bytes_written < 0 && errno == EINTR)
goto again;
-@@ -270,11 +296,37 @@
+@@ -270,11 +297,37 @@
{
char buf;
int bytes_written;