summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fbreader/fbreader-0.12.10
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/fbreader/fbreader-0.12.10')
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch22
-rw-r--r--meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch20
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
new file mode 100644
index 000000000..0e498c712
--- /dev/null
+++ b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
@@ -0,0 +1,22 @@
1diff -uri fbreader-0.12.1.orig/fbreader/Makefile fbreader-0.12.1/fbreader/Makefile
2--- fbreader-0.12.1.orig/fbreader/Makefile 2009-12-13 09:03:11.000000000 +0100
3+++ fbreader-0.12.1/fbreader/Makefile 2009-12-14 17:18:47.548638783 +0100
4@@ -37,7 +37,6 @@
5 @install $(TARGET) $(DESTDIR)$(BINDIR)/FBReader
6 @install -d $(FBSHAREDIR)
7 @install -d $(FBSHAREDIR)/help
8- @./scripts/install_help.sh $(VARIANT) $(FBSHAREDIR)/help
9 @install -d $(FBSHAREDIR)/network
10 @install -m 0644 $(wildcard data/network/*.xml) $(FBSHAREDIR)/network
11 @install -d $(FBSHAREDIR)/network/certificates
12@@ -58,8 +57,8 @@
13 @install -d $(FBSHAREDIR)/resources
14 @install -m 0644 $(wildcard data/resources/*.xml) $(FBSHAREDIR)/resources
15 @install -d $(DESTDIR)$(APPIMAGEDIR_REAL)
16- @install -m 0644 $(wildcard data/icons/toolbar/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
17- @install -m 0644 $(wildcard data/icons/filetree/$(VARIANT)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
18+ @install -m 0644 $(wildcard data/icons/toolbar/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
19+ @install -m 0644 $(wildcard data/icons/filetree/$(TARGET_ARCH)/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
20 @install -m 0644 $(wildcard data/icons/booktree/new/*.*) $(DESTDIR)$(APPIMAGEDIR_REAL)
21 @make -C $(TARGET_ARCH) RESOLUTION=$(RESOLUTION) install
22
diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch b/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
new file mode 100644
index 000000000..00cba1023
--- /dev/null
+++ b/meta-oe/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 }