pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/parallel/pvm3 Don't use void pointers in arithmetics.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e88a7884cc45
branches:  trunk
changeset: 534244:e88a7884cc45
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 14 11:33:31 2007 +0000

description:
Don't use void pointers in arithmetics.

diffstat:

 parallel/pvm3/distinfo         |   4 ++--
 parallel/pvm3/patches/patch-bo |  15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 110fcd84c589 -r e88a7884cc45 parallel/pvm3/distinfo
--- a/parallel/pvm3/distinfo    Sun Oct 14 09:06:19 2007 +0000
+++ b/parallel/pvm3/distinfo    Sun Oct 14 11:33:31 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2007/09/10 08:49:56 rillig Exp $
+$NetBSD: distinfo,v 1.24 2007/10/14 11:33:31 rillig Exp $
 
 SHA1 (pvm3.4.5.tgz) = c14946a4591c4f258380a20b478ee837ad69d985
 RMD160 (pvm3.4.5.tgz) = 22244c42a964d74ada43fb1379d7b4179afc7f9e
@@ -43,7 +43,7 @@
 SHA1 (patch-bl) = 5faec2ed16c8711da93ad487c301558d36bc7ed8
 SHA1 (patch-bm) = c50c1b7c78bb511e3c5c45648dfc2022e97e7108
 SHA1 (patch-bn) = 9e36274f1aedaba3586bab5def88db561d0066d4
-SHA1 (patch-bo) = 237a14c583e10752ba546605aaeb2007a5a62e55
+SHA1 (patch-bo) = 817b9ce6aacf0f72aec5b50b91dfbce92d3b3526
 SHA1 (patch-bq) = 404d9b54968945019767bd299f40e69eb6a7f624
 SHA1 (patch-br) = bb3431cd07153d9a8d42ca0fed8c55282a21977e
 SHA1 (patch-bs) = 0f982d32bc145aae66fcae721c21560417ed304f
diff -r 110fcd84c589 -r e88a7884cc45 parallel/pvm3/patches/patch-bo
--- a/parallel/pvm3/patches/patch-bo    Sun Oct 14 09:06:19 2007 +0000
+++ b/parallel/pvm3/patches/patch-bo    Sun Oct 14 11:33:31 2007 +0000
@@ -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 @@
                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: */



Home | Main Index | Thread Index | Old Index