summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch')
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch b/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
new file mode 100644
index 0000000000..8144e39be0
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
@@ -0,0 +1,39 @@
1
2gcc-4.7 seems to be stricter about some things, so follow
3the suggestion from the error/note information.
4
5 ../../x86_64-linux-libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
6 x86_64-linux-libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -isyst
7 In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
8 from ../../include/beecrypt/c++/util/Properties.h:36,
9 from Properties.cxx:25:
10 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
11 Properties.cxx:228:1: required from here
12 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
13 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
14 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
15 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
16 Properties.cxx:228:1: required from here
17 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
18 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
19 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
20
21
22Upstream-Status: Pending
23
24Signed-off-by: Saul Wold <sgw@linux.intel.com>
25
26
27Index: beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
28===================================================================
29--- beecrypt-4.2.1.orig/include/beecrypt/c++/util/AbstractSet.h
30+++ beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
31@@ -56,7 +56,7 @@ namespace beecrypt {
32 if (c->size() != size())
33 return false;
34
35- return containsAll(*c);
36+ return this->containsAll(*c);
37 }
38 return false;
39 }