summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches/patch-ac
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-29 20:25:53 +0000
committertnn <tnn@pkgsrc.org>2008-05-29 20:25:53 +0000
commit8112a86e60353a0078d752f3b1eb3812f8bae56b (patch)
tree1cb6879fdd78e867df314a084dd9db304af3f014 /parallel/mpi-ch/patches/patch-ac
parentfe40bde7304f059a51d88139b419d8474a9bb8b9 (diff)
downloadpkgsrc-8112a86e60353a0078d752f3b1eb3812f8bae56b.tar.gz
Update to mpich2-1.0.7. From pkgsrc-wip, contributed by Aleksej Saushev.
MPICH2 is an all-new implementation of MPI from the group at Argonne National Laboratory. It shares many goals with the original MPICH but no actual code. It is a portable, high-performance implementation of the entire MPI-2 standard. This release has all MPI-2 functions and features required by the standard with the exception of support for the "external32" portable I/O format.
Diffstat (limited to 'parallel/mpi-ch/patches/patch-ac')
-rw-r--r--parallel/mpi-ch/patches/patch-ac36
1 files changed, 26 insertions, 10 deletions
diff --git a/parallel/mpi-ch/patches/patch-ac b/parallel/mpi-ch/patches/patch-ac
index b2f24e0fb27..ace2fc31aa7 100644
--- a/parallel/mpi-ch/patches/patch-ac
+++ b/parallel/mpi-ch/patches/patch-ac
@@ -1,12 +1,28 @@
-$NetBSD: patch-ac,v 1.4 2006/03/14 01:10:49 joerg Exp $
+$NetBSD: patch-ac,v 1.5 2008/05/29 20:25:54 tnn Exp $
---- mpid/ch_p4/p4/servers/serv_p4.c.orig 2006-03-13 23:25:07.000000000 +0000
-+++ mpid/ch_p4/p4/servers/serv_p4.c
-@@ -74,7 +74,6 @@ extern char *crypt();
- extern char *sys_errlist[];
- #define strerror(n) sys_errlist[n]
- #endif
--extern int errno;
+Install sample configuration files in example directory.
+
+--- src/mpe2/sbin/mpeinstall.in.orig 2007-11-29 00:51:40.000000000 +0300
++++ src/mpe2/sbin/mpeinstall.in 2008-04-16 00:32:18.000000000 +0400
+@@ -38,6 +38,8 @@
+ htmldir=@htmldir@
+ docdir=@docdir@
- char tmpbuf[1024];
- char *fromhost;
++exampledir=${datadir}/examples
++
+ # Assume PROF_LIBNAME=MPE_LIBNAME.
+ PROF_LIBNAME=@MPE_LIBNAME@
+ MPI_IMPL=@MPI_IMPL@
+@@ -466,10 +468,10 @@
+ if [ -n "$etcbuild_dir" ] ; then
+ if [ -d $etcbuild_dir ] ; then
+ echo "Installing $pkgname configuration files to $DESTDIR$sysconfdir"
+- InstallDirRecur $etcbuild_dir $sysconfdir $MODE
++ InstallDirRecur $etcbuild_dir $exampledir $MODE
+ cd $etcbuild_dir && \
+ for file in *.conf ; do \
+- FixInstallFile $file $sysconfdir/$file ; \
++ FixInstallFile $file $exampledir/$file ; \
+ done
+ fi
+ fi