pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/parallel/mpi-ch Correct the way the endianness is dete...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a2fc7817001
branches:  trunk
changeset: 463772:5a2fc7817001
user:      wennmach <wennmach%pkgsrc.org@localhost>
date:      Wed Nov 26 12:42:12 2003 +0000

description:
Correct the way the endianness is determined.
(How could this actually ever have worked ???)

diffstat:

 parallel/mpi-ch/Makefile         |  3 ++-
 parallel/mpi-ch/distinfo         |  4 ++--
 parallel/mpi-ch/patches/patch-aa |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 026c4da4f853 -r 5a2fc7817001 parallel/mpi-ch/Makefile
--- a/parallel/mpi-ch/Makefile  Wed Nov 26 11:19:09 2003 +0000
+++ b/parallel/mpi-ch/Makefile  Wed Nov 26 12:42:12 2003 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2003/03/29 12:42:09 jmmv Exp $
+# $NetBSD: Makefile,v 1.22 2003/11/26 12:42:12 wennmach Exp $
 
 DISTNAME=              mpich-1.2.5-1a
 PKGNAME=               mpich-1.2.5.1.1
+PKGREVISION=           1
 WRKSRC=                        ${WRKDIR}/${DISTNAME:C/-1a//}
 CATEGORIES=            parallel
 MASTER_SITES=          ftp://ftp.mcs.anl.gov/pub/mpi/
diff -r 026c4da4f853 -r 5a2fc7817001 parallel/mpi-ch/distinfo
--- a/parallel/mpi-ch/distinfo  Wed Nov 26 11:19:09 2003 +0000
+++ b/parallel/mpi-ch/distinfo  Wed Nov 26 12:42:12 2003 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.3 2003/03/27 21:07:05 jschauma Exp $
+$NetBSD: distinfo,v 1.4 2003/11/26 12:42:12 wennmach Exp $
 
 SHA1 (mpich-1.2.5-1a.tar.gz) = 28d9316601196169a8576ace94daf23f1b673c01
 Size (mpich-1.2.5-1a.tar.gz) = 12381275 bytes
 SHA1 (mpich-docs.tgz) = fb7a9c7459998b9b74584d2afc4553027d94ad10
 Size (mpich-docs.tgz) = 326405 bytes
-SHA1 (patch-aa) = 2575ea0e7c8fd41850432fc6a32dc8999c59828a
+SHA1 (patch-aa) = fa6d5f16cbc88b850906a7cc970ad73e62bee50d
 SHA1 (patch-ak) = 8ad7340a9a95087649a96c823e5d0965922e209b
 SHA1 (patch-al) = 0f889dba558d9bd5122610f2ce2aecda6d6c5323
 SHA1 (patch-am) = ebebecac0ee222284ba75ea300d0fedc99c7fea8
diff -r 026c4da4f853 -r 5a2fc7817001 parallel/mpi-ch/patches/patch-aa
--- a/parallel/mpi-ch/patches/patch-aa  Wed Nov 26 11:19:09 2003 +0000
+++ b/parallel/mpi-ch/patches/patch-aa  Wed Nov 26 12:42:12 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2003/03/27 21:07:05 jschauma Exp $
+$NetBSD: patch-aa,v 1.5 2003/11/26 12:42:12 wennmach Exp $
 
 --- configure.orig     Mon Mar 24 16:28:18 2003
 +++ configure  Mon Mar 24 16:29:00 2003
@@ -16,7 +16,7 @@
 -  exit (u.c[sizeof (long) - 1] == 1);
 +      int     indian = 1;
 +      
-+      exit(*(char *)&indian));
++      exit(1 - *(char *)&indian);
  }
  EOF
          if test -n "$compile" ; then 



Home | Main Index | Thread Index | Old Index