summaryrefslogtreecommitdiff
path: root/mail/sqwebmail
diff options
context:
space:
mode:
authorjlam <jlam>2007-09-07 14:52:27 +0000
committerjlam <jlam>2007-09-07 14:52:27 +0000
commitb79a964a8cf532edb6da216eacb47980418b910f (patch)
tree9ca14f9fba066d8f89085d8990fd125119a31618 /mail/sqwebmail
parentd7c1a4257a7a5314aeb695740075c1665cbee6a5 (diff)
downloadpkgsrc-b79a964a8cf532edb6da216eacb47980418b910f.tar.gz
Fix build on FreeBSD-4.x where <sys/socket.h> doesn't include <sys/uio.h>.
Now "struct iovec" is actually declared before use in cgi/cgidaemond.c.
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r--mail/sqwebmail/distinfo3
-rw-r--r--mail/sqwebmail/patches/patch-ao14
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/sqwebmail/distinfo b/mail/sqwebmail/distinfo
index abcad2373ed..a2d0b347b1d 100644
--- a/mail/sqwebmail/distinfo
+++ b/mail/sqwebmail/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2007/09/06 04:05:41 jlam Exp $
+$NetBSD: distinfo,v 1.18 2007/09/07 14:52:27 jlam Exp $
SHA1 (sqwebmail-5.1.6.tar.bz2) = 04ecff69dfcd01fc947adfafe39d8f2bd80254e6
RMD160 (sqwebmail-5.1.6.tar.bz2) = 231c0f972a7423c231ff7db8bacc6417aae5354a
@@ -11,3 +11,4 @@ SHA1 (patch-aj) = 510c91faf9d0cd584b5ec9da07a034a7d89d62f3
SHA1 (patch-ak) = e84966ea5ed5cee58bbde380f0d9ace31034e1ba
SHA1 (patch-am) = 8d78356319eead76a9170bf8183ddddb34481552
SHA1 (patch-an) = 288dfa758d39c8e0efde2ff8b9325268b3910265
+SHA1 (patch-ao) = 20ecff27f7945facd53ab940ec8845b88e2f092c
diff --git a/mail/sqwebmail/patches/patch-ao b/mail/sqwebmail/patches/patch-ao
new file mode 100644
index 00000000000..c0e7b02f10e
--- /dev/null
+++ b/mail/sqwebmail/patches/patch-ao
@@ -0,0 +1,14 @@
+$NetBSD: patch-ao,v 1.1 2007/09/07 14:52:28 jlam Exp $
+
+--- cgi/cgidaemond.c.orig 2007-03-15 21:37:28.000000000 -0400
++++ cgi/cgidaemond.c
+@@ -33,6 +33,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>
++#if HAVE_SYS_UIO_H
++#include <sys/uio.h>
++#endif
+ #include <sys/un.h>
+
+ static int read_environ(int);