diff options
author | wennmach <wennmach@pkgsrc.org> | 2003-11-26 12:42:12 +0000 |
---|---|---|
committer | wennmach <wennmach@pkgsrc.org> | 2003-11-26 12:42:12 +0000 |
commit | 3fbe17c32f1ab3b5285049d34f2bbb7959ef249f (patch) | |
tree | aef3f06631095099ac13318df6301a20d850469a /parallel/mpi-ch/patches | |
parent | fa2844bfea188a67263dc52db26c4a869741b7f2 (diff) | |
download | pkgsrc-3fbe17c32f1ab3b5285049d34f2bbb7959ef249f.tar.gz |
Correct the way the endianness is determined.
(How could this actually ever have worked ???)
Diffstat (limited to 'parallel/mpi-ch/patches')
-rw-r--r-- | parallel/mpi-ch/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parallel/mpi-ch/patches/patch-aa b/parallel/mpi-ch/patches/patch-aa index 9e3bc0a3687..e0f9622cada 100644 --- a/parallel/mpi-ch/patches/patch-aa +++ b/parallel/mpi-ch/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2003/03/27 21:07:05 jschauma Exp $ - exit (u.c[sizeof (long) - 1] == 1); + int indian = 1; + -+ exit(*(char *)&indian)); ++ exit(1 - *(char *)&indian); } EOF if test -n "$compile" ; then |