pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ORBit Use the IOV_MAX fix only in NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd608a431e40
branches:  trunk
changeset: 460347:bd608a431e40
user:      martti <martti%pkgsrc.org@localhost>
date:      Fri Aug 29 06:48:07 2003 +0000

description:
Use the IOV_MAX fix only in NetBSD

diffstat:

 net/ORBit/distinfo         |   4 ++--
 net/ORBit/patches/patch-an |  13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (41 lines):

diff -r 8337c0e923c9 -r bd608a431e40 net/ORBit/distinfo
--- a/net/ORBit/distinfo        Fri Aug 29 04:48:33 2003 +0000
+++ b/net/ORBit/distinfo        Fri Aug 29 06:48:07 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2003/07/11 23:38:45 grant Exp $
+$NetBSD: distinfo,v 1.18 2003/08/29 06:48:07 martti Exp $
 
 SHA1 (ORBit-0.5.15.tar.gz) = 1571976662311060175008d225de05e9bc2eb038
 Size (ORBit-0.5.15.tar.gz) = 1335272 bytes
@@ -13,5 +13,5 @@
 SHA1 (patch-ak) = d569014320dbea40ccdb9e369e07c984ee7bd9de
 SHA1 (patch-al) = 7f2992136c3f7b1badfc76a83d6fed0aa73a8873
 SHA1 (patch-am) = f52369447d04a382d6e93a6bddaf3962a3ab6677
-SHA1 (patch-an) = 970dfe187ddf7ccc64cfb292e60e470d6ffae98e
+SHA1 (patch-an) = fa9bb500ddcd0ec8e64b5ff1edbe0f02f5cb0f39
 SHA1 (patch-ao) = 4346486e6a3d947350b162088490692543dde2f3
diff -r 8337c0e923c9 -r bd608a431e40 net/ORBit/patches/patch-an
--- a/net/ORBit/patches/patch-an        Fri Aug 29 04:48:33 2003 +0000
+++ b/net/ORBit/patches/patch-an        Fri Aug 29 06:48:07 2003 +0000
@@ -1,13 +1,16 @@
-$NetBSD: patch-an,v 1.3 2003/01/19 13:48:19 wiz Exp $
+$NetBSD: patch-an,v 1.4 2003/08/29 06:48:08 martti Exp $
 
---- src/IIOP/giop-msg-buffer.c.orig    Mon Mar 11 13:40:02 2002
-+++ src/IIOP/giop-msg-buffer.c
-@@ -210,7 +210,7 @@ giop_send_buffer_write(GIOPSendBuffer *s
+--- src/IIOP/giop-msg-buffer.c.orig    2002-03-11 14:40:02.000000000 +0200
++++ src/IIOP/giop-msg-buffer.c 2003-08-29 08:48:27.000000000 +0300
+@@ -210,7 +210,11 @@
                        res = writev (fd, curvec, MIN (nvecs, MAX_LIMITED_IOVECS));
  /*                    fprintf (stderr, "wrote %ld bytes [%d]\n", res, (int) errno); */
  #else
--                      res = writev (fd, curvec, nvecs);
++#ifndef __NetBSD__
+                       res = writev (fd, curvec, nvecs);
++#else
 +                      res = writev (fd, curvec, MIN(nvecs, IOV_MAX));
++#endif
  #endif
                } while (res < 0 && errno == EINTR);
  



Home | Main Index | Thread Index | Old Index