pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sqwebmail Fix build on FreeBSD-4.x where <sys/soc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f2d6e88da43
branches:  trunk
changeset: 533031:9f2d6e88da43
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Sep 07 14:52:27 2007 +0000

description:
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:

 mail/sqwebmail/distinfo         |   3 ++-
 mail/sqwebmail/patches/patch-ao |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 80851dfaf43f -r 9f2d6e88da43 mail/sqwebmail/distinfo
--- a/mail/sqwebmail/distinfo   Fri Sep 07 14:49:35 2007 +0000
+++ b/mail/sqwebmail/distinfo   Fri Sep 07 14:52:27 2007 +0000
@@ -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-ak) = e84966ea5ed5cee58bbde380f0d9ace31034e1ba
 SHA1 (patch-am) = 8d78356319eead76a9170bf8183ddddb34481552
 SHA1 (patch-an) = 288dfa758d39c8e0efde2ff8b9325268b3910265
+SHA1 (patch-ao) = 20ecff27f7945facd53ab940ec8845b88e2f092c
diff -r 80851dfaf43f -r 9f2d6e88da43 mail/sqwebmail/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sqwebmail/patches/patch-ao   Fri Sep 07 14:52:27 2007 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index