summaryrefslogtreecommitdiffstats
path: root/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2012-11-14 13:34:27 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2012-12-04 11:25:35 +0100
commit31cec2ac2ea0533d0734c7d2214ea3d2aa8c13e9 (patch)
tree003d872906fe97c01e4dbac1ec0e36940a40fb34 /meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
parentde7c5162f83bc4e9eb6ecb9d8e8717049bb8df00 (diff)
downloadmeta-openembedded-31cec2ac2ea0533d0734c7d2214ea3d2aa8c13e9.tar.gz
fbreader: move to meta-gpe due to libgpewidget dependency
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Diffstat (limited to 'meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch')
-rw-r--r--meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
new file mode 100644
index 000000000..00cba1023
--- /dev/null
+++ b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
@@ -0,0 +1,20 @@
1 Fix compilation with gcc 4.5
2
3 [FBreader Ticket #340] -- http://old.fbreader.org/mantis/view.php?id=340
4
5 Without that patch we have:
6 Compiling Library.o ...Library.cpp:42:1: error: 'Library::Library' names the constructor, not the type
7
8 Upstream-Status: Accepted [Fixed in Version 0.14.0]
9
10--- fbreader-0.12.10-orig/fbreader/src/library/Library.cpp 2010-04-01 15:14:24.000000000 +0200
11+++ fbreader-0.12.10/fbreader/src/library/Library.cpp 2010-04-13 13:34:06.000000000 +0200
12@@ -39,7 +39,7 @@
13 shared_ptr<Library> Library::ourInstance;
14 const size_t Library::MaxRecentListSize = 10;
15
16-Library::Library &Library::Instance() {
17+Library &Library::Instance() {
18 if (ourInstance.isNull()) {
19 ourInstance = new Library();
20 }