pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc No sin_len on IRIX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5417e95711a3
branches:  trunk
changeset: 538937:5417e95711a3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Feb 21 14:40:43 2008 +0000

description:
No sin_len on IRIX.

diffstat:

 net/libfetch/files/common.h              |  4 ++--
 pkgtools/pbulk/files/pbulk/lib/netaddr.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c14b5b1c3504 -r 5417e95711a3 net/libfetch/files/common.h
--- a/net/libfetch/files/common.h       Thu Feb 21 14:08:48 2008 +0000
+++ b/net/libfetch/files/common.h       Thu Feb 21 14:40:43 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.2 2008/02/07 17:42:14 joerg Exp $ */
+/*     $NetBSD: common.h,v 1.3 2008/02/21 14:40:43 tnn Exp $   */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * All rights reserved.
@@ -46,7 +46,7 @@
 #endif
 
 #if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
-    !defined(__digital__) && !defined(__linux)
+    !defined(__digital__) && !defined(__linux) && !defined(__sgi)
 #define HAVE_SA_LEN
 #endif
 
diff -r c14b5b1c3504 -r 5417e95711a3 pkgtools/pbulk/files/pbulk/lib/netaddr.c
--- a/pkgtools/pbulk/files/pbulk/lib/netaddr.c  Thu Feb 21 14:08:48 2008 +0000
+++ b/pkgtools/pbulk/files/pbulk/lib/netaddr.c  Thu Feb 21 14:40:43 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netaddr.c,v 1.6 2007/08/16 12:50:34 joerg Exp $ */
+/* $NetBSD: netaddr.c,v 1.7 2008/02/21 14:40:43 tnn Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -71,7 +71,7 @@
        addr->sin_port = htons((in_port_t)tmp);
        addr->sin_addr = in;
 #if !defined(__sun) && !defined(__hpux) && !defined(__INTERIX) && \
-    !defined(__digital__) && !defined(__linux)
+    !defined(__digital__) && !defined(__linux) && !defined(__sgi)
        addr->sin_len = sizeof(*addr);
 #endif
        addr->sin_family = AF_INET;



Home | Main Index | Thread Index | Old Index