summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches
diff options
context:
space:
mode:
authorwennmach <wennmach>2003-11-26 12:42:12 +0000
committerwennmach <wennmach>2003-11-26 12:42:12 +0000
commit0983cfa35bf132f4451b22abd5d6868f5b93d218 (patch)
treeaef3f06631095099ac13318df6301a20d850469a /parallel/mpi-ch/patches
parentfb5f8e9538dd16e7f9cd02708014035ad7202c09 (diff)
downloadpkgsrc-0983cfa35bf132f4451b22abd5d6868f5b93d218.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-aa4
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