summaryrefslogtreecommitdiff
path: root/parallel/pvm3/patches/patch-bo
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/pvm3/patches/patch-bo')
-rw-r--r--parallel/pvm3/patches/patch-bo15
1 files changed, 12 insertions, 3 deletions
diff --git a/parallel/pvm3/patches/patch-bo b/parallel/pvm3/patches/patch-bo
index f8cd6024778..93d602f494e 100644
--- a/parallel/pvm3/patches/patch-bo
+++ b/parallel/pvm3/patches/patch-bo
@@ -1,7 +1,7 @@
-$NetBSD: patch-bo,v 1.3 2006/01/27 16:34:36 joerg Exp $
+$NetBSD: patch-bo,v 1.4 2007/10/14 11:33:31 rillig Exp $
---- src/host.c.orig 2004-01-14 18:50:55.000000000 +0000
-+++ src/host.c
+--- src/host.c.orig 2004-01-14 19:50:55.000000000 +0100
++++ src/host.c 2007-10-14 13:31:44.000000000 +0200
@@ -978,7 +978,7 @@ iflist(alp, np)
#ifdef OSIOCGIFCONF
#if defined(IMA_RS6K) || defined(IMA_RS6KMP) || defined(IMA_SP2MPI) \
@@ -11,6 +11,15 @@ $NetBSD: patch-bo,v 1.3 2006/01/27 16:34:36 joerg Exp $
SIOCGIFCONF
#else
OSIOCGIFCONF
+@@ -992,7 +992,7 @@ iflist(alp, np)
+ }
+
+ for (cp = sif.ifc_ifcu.ifcu_buf;
+- cp - sif.ifc_ifcu.ifcu_buf < sif.ifc_len;
++ cp - (char *)sif.ifc_ifcu.ifcu_buf < sif.ifc_len;
+ cp += sizeof(*reqp) - sizeof(struct sockaddr) + SIZ(reqp->ifr_addr))
+ {
+ reqp = (struct ifreq*)cp;
@@ -1005,7 +1005,11 @@ iflist(alp, np)
}
/* On some FreeBSD systems: */