summaryrefslogtreecommitdiff
path: root/development/codeblocks/ftbfs-gcc-4.7.diff
blob: e6a4b99ce0e6836a4ebc970dcc32627fbcaa867f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: codeblocks-10.05/src/plugins/contrib/help_plugin/defs.h
===================================================================
--- codeblocks-10.05.orig/src/plugins/contrib/help_plugin/defs.h	2010-05-22 10:29:35.000000000 +0000
+++ codeblocks-10.05/src/plugins/contrib/help_plugin/defs.h	2012-05-29 05:18:08.674124530 +0000
@@ -289,7 +289,7 @@
 
             if (i.second == false && overwrite)
             {
-                find(k)->second = t;
+                this->find(k)->second = t;
             }
 
             return i.first;
@@ -297,7 +297,7 @@
 
         int remove(const Key &k)
         {
-            return erase(k);
+            return this->erase(k);
         }
 };
 
Index: codeblocks-10.05/src/plugins/contrib/help_plugin/man2html.cpp
===================================================================
--- codeblocks-10.05.orig/src/plugins/contrib/help_plugin/man2html.cpp	2010-05-22 10:29:35.000000000 +0000
+++ codeblocks-10.05/src/plugins/contrib/help_plugin/man2html.cpp	2012-05-29 05:15:59.186120279 +0000
@@ -150,6 +150,7 @@
 # include <kdeversion.h>
 # define BYTEARRAY(x) x
 #endif
+#include <unistd.h>
 
 #ifdef __MINGW32__
     #include <io.h>