summaryrefslogtreecommitdiff
path: root/community/qgo/qgo-gcc43-iostream.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/qgo/qgo-gcc43-iostream.patch')
-rw-r--r--community/qgo/qgo-gcc43-iostream.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/qgo/qgo-gcc43-iostream.patch b/community/qgo/qgo-gcc43-iostream.patch
new file mode 100644
index 000000000..6cd9fc1ec
--- /dev/null
+++ b/community/qgo/qgo-gcc43-iostream.patch
@@ -0,0 +1,28 @@
+--- qgo-1.5.4/src/matrix.cpp.orig 2008-02-15 16:47:04.000000000 -0500
++++ qgo-1.5.4/src/matrix.cpp 2008-02-15 16:47:58.000000000 -0500
+@@ -5,7 +5,10 @@
+ #include "matrix.h"
+ #include <stdlib.h>
+ #ifndef NO_DEBUG
+-#include <iostream.h>
++#include <iostream>
++
++using namespace std;
++
+ #endif
+
+ Matrix::Matrix(int s)
+--- qgo-1.5.4/src/tree.cpp.orig 2008-02-15 17:01:49.000000000 -0500
++++ qgo-1.5.4/src/tree.cpp 2008-02-15 17:03:06.000000000 -0500
+@@ -5,7 +5,10 @@
+ #include "tree.h"
+ #include "move.h"
+ #include "qgo.h"
+-#include <iostream.h>
++#include <iostream>
++
++using namespace std;
++
+ #include <qptrstack.h>
+
+ Tree::Tree(int board_size)