summaryrefslogtreecommitdiffstats
path: root/net/mpich/files/patch-examples_basic_hello++.cc
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-07-28 07:39:11 +0000
committerthierry <thierry@FreeBSD.org>2007-07-28 07:39:11 +0000
commita23fe01a0ef3a3100f4cafec11cc762f640a738d (patch)
tree6f32185fc66b5ec826bb92df0f386785f7f4625f /net/mpich/files/patch-examples_basic_hello++.cc
parent95a700e56ec380e77bc3cae227aceee04623259e (diff)
downloadFreeBSD-ports-a23fe01a0ef3a3100f4cafec11cc762f640a738d.zip
FreeBSD-ports-a23fe01a0ef3a3100f4cafec11cc762f640a738d.tar.gz
Don't use implicitly f77 but set USE_FORTRAN, thus install the f90
interface and fix on -CURRENT.
Diffstat (limited to 'net/mpich/files/patch-examples_basic_hello++.cc')
-rw-r--r--net/mpich/files/patch-examples_basic_hello++.cc13
1 files changed, 13 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 0000000..dd6b789
--- /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
OpenPOWER on IntegriCloud