summaryrefslogtreecommitdiff
path: root/parallel/pvm3/patches
diff options
context:
space:
mode:
authorgarbled <garbled>1998-10-29 05:15:10 +0000
committergarbled <garbled>1998-10-29 05:15:10 +0000
commit3dd53ca45a9b33e3a7ce0f3beb0fab3cd24e50dc (patch)
tree54663ee2eec56f0eb795e84800b46d7ce6a9b99a /parallel/pvm3/patches
parent9add0b4f8db4f781e1872cc66b6ea424d5d0e44f (diff)
downloadpkgsrc-3dd53ca45a9b33e3a7ce0f3beb0fab3cd24e50dc.tar.gz
Update message to explain how the host paths work, and add a fix supplied
by Phil Nelson to make this pkg work on arm32.
Diffstat (limited to 'parallel/pvm3/patches')
-rw-r--r--parallel/pvm3/patches/patch-ao33
1 files changed, 33 insertions, 0 deletions
diff --git a/parallel/pvm3/patches/patch-ao b/parallel/pvm3/patches/patch-ao
new file mode 100644
index 00000000000..9d47abb1b19
--- /dev/null
+++ b/parallel/pvm3/patches/patch-ao
@@ -0,0 +1,33 @@
+$NetBSD: patch-ao,v 1.1 1998/10/29 05:15:10 garbled Exp $
+--- src/pmsg.c.orig Tue Mar 10 12:32:31 1998
++++ src/pmsg.c Wed Oct 28 11:23:53 1998
+@@ -252,13 +252,28 @@
+ return ((3 << 4) | i) << o;
+
+ for (j = 0; j < n; j++)
++ if (j < n/2) {
++ if (p[n/2 - 1 - j ]
++ != thesigs[i].bytes[j])
++ break;
++ } else {
++ if (p[n + n/2 - 1 - j ]
++ != thesigs[i].bytes[j])
++ break;
++ }
++
++ if (j == n)
++ return ((1 << 4) | i) << o;
++
++ for (j = 0; j < n; j++)
+ if (p[n - 1 - j] != thesigs[i].bytes[j])
+ break;
+ if (j == n)
+ return i << o;
+ }
+ }
+- fprintf(stderr, "can't generate signature for my integer byte order\n");
++ fprintf(stderr,
++ "can't generate signature for my floating point byte order\n");
+ abort();
+ return 0;
+ }