summaryrefslogtreecommitdiff
path: root/net/mpich/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-07-28 07:39:11 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-07-28 07:39:11 +0000
commitd10a818577ae0492105c3ad64a31919dfc4d467b (patch)
tree0fe80dead9b1d57499942dbb0727e8d0b1626a60 /net/mpich/files
parentUpdate Okinawa additional dictionary. (diff)
Don't use implicitly f77 but set USE_FORTRAN, thus install the f90
interface and fix on -CURRENT.
Diffstat (limited to 'net/mpich/files')
-rw-r--r--net/mpich/files/patch-examples_basic_hello++.cc13
-rw-r--r--net/mpich/files/patch-examples_test_configure15
-rw-r--r--net/mpich/files/patch-installtest_hello++.cc13
3 files changed, 41 insertions, 0 deletions
diff --git a/net/mpich/files/patch-examples_basic_hello++.cc b/net/mpich/files/patch-examples_basic_hello++.cc
new file mode 100644
index 000000000000..dd6b7896a914
--- /dev/null
+++ b/net/mpich/files/patch-examples_basic_hello++.cc
@@ -0,0 +1,13 @@
+--- examples/basic/hello++.cc.orig Wed Jul 12 22:23:29 2000
++++ examples/basic/hello++.cc Fri Jul 27 23:01:44 2007
+@@ -26,7 +26,9 @@
+ // OR OTHER RIGHTS.
+ //
+
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
++
+ #include "mpi.h"
+
+ int
diff --git a/net/mpich/files/patch-examples_test_configure b/net/mpich/files/patch-examples_test_configure
new file mode 100644
index 000000000000..27ba1e089a8a
--- /dev/null
+++ b/net/mpich/files/patch-examples_test_configure
@@ -0,0 +1,15 @@
+--- ./examples/test/configure.orig Mon Oct 10 15:27:36 2005
++++ ./examples/test/configure Thu Jul 26 20:52:13 2007
+@@ -1017,9 +1017,9 @@
+ else
+ echo "$ac_t""$ac_cv_prog_g77" 1>&1
+ fi
+- if test $ac_cv_prog_g77 = "yes" ; then
+- FFLAGS="$FFLAGS -Wno-globals"
+- fi
++ #if test $ac_cv_prog_g77 = "yes" ; then
++ # FFLAGS="$FFLAGS -Wno-globals"
++ #fi
+ fi
+ # Fixup for make
+
diff --git a/net/mpich/files/patch-installtest_hello++.cc b/net/mpich/files/patch-installtest_hello++.cc
new file mode 100644
index 000000000000..4a8a6221490f
--- /dev/null
+++ b/net/mpich/files/patch-installtest_hello++.cc
@@ -0,0 +1,13 @@
+--- installtest/hello++.cc.orig Fri May 26 23:28:29 2000
++++ installtest/hello++.cc Fri Jul 27 23:02:01 2007
+@@ -26,7 +26,9 @@
+ // OR OTHER RIGHTS.
+ //
+
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
++
+ // modified to reference the master mpi.h file, to meet the MPI standard spec.
+ #include "mpi.h"
+