aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2009-08-03 20:32:06 +0800
committermaho <maho@FreeBSD.org>2009-08-03 20:32:06 +0800
commit8bff93584a541119069a5ee70afb7abb951b1ccd (patch)
tree6a0639b0eb42bc9c1c228e49da7264579b49a812
parentc45dc9467b01a5ec92f7a3a9f56d1cd825db69bb (diff)
downloadfreebsd-ports-gnome-8bff93584a541119069a5ee70afb7abb951b1ccd.tar.gz
freebsd-ports-gnome-8bff93584a541119069a5ee70afb7abb951b1ccd.tar.zst
freebsd-ports-gnome-8bff93584a541119069a5ee70afb7abb951b1ccd.zip
Build fix with gcc44 (upcoming)
Spotted by: gerald
-rw-r--r--science/psi3/files/patch-cstdio72
1 files changed, 72 insertions, 0 deletions
diff --git a/science/psi3/files/patch-cstdio b/science/psi3/files/patch-cstdio
new file mode 100644
index 000000000000..39cfff087c56
--- /dev/null
+++ b/science/psi3/files/patch-cstdio
@@ -0,0 +1,72 @@
+--- src/lib/libpsio/psio.hpp~ 2008-11-25 02:50:44.000000000 +0900
++++ src/lib/libpsio/psio.hpp 2009-08-03 19:03:57.000000000 +0900
+@@ -3,7 +3,7 @@
+
+ #include <string>
+ #include <map>
+-
++#include <cstdio>
+ #include <libpsio/config.h>
+
+ namespace psi {
+--- src/lib/libutil/libutil.h~ 2008-12-09 05:23:16.000000000 +0900
++++ src/lib/libutil/libutil.h 2009-08-03 19:07:37.000000000 +0900
+@@ -4,6 +4,7 @@
+ #include <vector>
+ #include <iostream>
+ #include <sstream>
++#include <cstdio>
+ #include <sys/time.h>
+
+ extern FILE *outfile;
+--- src/bin/mcscf/block_matrix.h~ 2008-12-09 05:23:16.000000000 +0900
++++ src/bin/mcscf/block_matrix.h 2009-08-03 19:37:15.000000000 +0900
+@@ -4,7 +4,7 @@
+ #include "block_vector.h"
+ #include "matrix_base.h"
+ #include <string>
+-
++#include <cstdio>
+ extern FILE* outfile;
+
+ namespace psi{ namespace mcscf{
+--- src/bin/mcscf/sblock_vector.cc~ 2008-12-09 05:23:16.000000000 +0900
++++ src/bin/mcscf/sblock_vector.cc 2009-08-03 20:00:47.000000000 +0900
+@@ -2,6 +2,7 @@
+ #include <psifiles.h>
+
+ #include "sblock_vector.h"
++#include <cstdio>
+
+ extern FILE* outfile;
+
+--- src/bin/mcscf/block_vector.cc~ 2008-12-09 05:23:16.000000000 +0900
++++ src/bin/mcscf/block_vector.cc 2009-08-03 20:27:14.000000000 +0900
+@@ -1,6 +1,7 @@
+ #include "block_vector.h"
+ #include "vector_base.h"
+ #include "memory_manager.h"
++#include <cstdio>
+
+ extern FILE* outfile;
+
+--- src/bin/mcscf/memory_manager.h~ 2008-12-09 05:23:16.000000000 +0900
++++ src/bin/mcscf/memory_manager.h 2009-08-03 21:09:02.000000000 +0900
+@@ -3,6 +3,7 @@
+
+ #include <map>
+ #include <vector>
++#include <cstdio>
+ #include <string>
+
+ namespace psi{ namespace mcscf{
+--- src/bin/psimrcc/memory_manager.h~ 2008-08-14 07:25:41.000000000 +0900
++++ src/bin/psimrcc/memory_manager.h 2009-08-03 21:10:00.000000000 +0900
+@@ -10,6 +10,7 @@
+ #include <map>
+ #include <vector>
+ #include <string>
++#include <cstdio>
+
+ namespace psi{ namespace psimrcc{
+