summaryrefslogtreecommitdiff
path: root/community/qgo/gcc43.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-06 23:14:37 +0000
committerroot <root@rshg054.dnsready.net>2011-10-06 23:14:37 +0000
commit5442e9b8f357932ed5d6cb46e90fcbf6f453469f (patch)
treee2393e2f381e2e539810e51c34e56c8f687c153c /community/qgo/gcc43.patch
parent068f1f30c0bba25b6b88cefbe982a72535fa1951 (diff)
Thu Oct 6 23:14:37 UTC 2011
Diffstat (limited to 'community/qgo/gcc43.patch')
-rw-r--r--community/qgo/gcc43.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/qgo/gcc43.patch b/community/qgo/gcc43.patch
new file mode 100644
index 000000000..1af8b8bd9
--- /dev/null
+++ b/community/qgo/gcc43.patch
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_g++-4.3.dpatch by Pierre Habouzit <madcoder@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: g++-4.3 patch
+
+@DPATCH@
+--- qgo-1.5.4-r2~/src/matrix.cpp 2004-10-30 20:49:50.000000000 +0000
++++ qgo-1.5.4-r2/src/matrix.cpp 2008-03-16 23:04:18.306414183 +0000
+@@ -2,12 +2,14 @@
+ * matrix.cpp
+ */
+
++#include <cstdlib>
+ #include "matrix.h"
+-#include <stdlib.h>
+ #ifndef NO_DEBUG
+-#include <iostream.h>
++#include <iostream>
+ #endif
+
++using namespace std;
++
+ Matrix::Matrix(int s)
+ : size(s)
+ {
+--- qgo-1.5.4-r2~/src/tree.cpp 2005-05-12 20:58:23.000000000 +0000
++++ qgo-1.5.4-r2/src/tree.cpp 2008-03-16 23:04:50.660267034 +0000
+@@ -5,7 +5,7 @@
+ #include "tree.h"
+ #include "move.h"
+ #include "qgo.h"
+-#include <iostream.h>
++#include <iostream>
+ #include <qptrstack.h>
+
+ Tree::Tree(int board_size)