Gentoo Archives: gentoo-commits

From: "Dror Levin (spatz)" <spatz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/fbreader/files: fbreader-0.12.10-gcc45.patch
Date: Mon, 26 Apr 2010 21:07:23
Message-Id: 20100426210719.CD1DE2C04C@corvid.gentoo.org
1 spatz 10/04/26 21:07:19
2
3 Added: fbreader-0.12.10-gcc45.patch
4 Log:
5 Add patch for building with gcc-4.5, bug 317189. Thanks to Azamat H. Hackimov for the patch.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-text/fbreader/files/fbreader-0.12.10-gcc45.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/fbreader/files/fbreader-0.12.10-gcc45.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/fbreader/files/fbreader-0.12.10-gcc45.patch?rev=1.1&content-type=text/plain
13
14 Index: fbreader-0.12.10-gcc45.patch
15 ===================================================================
16 --- fbreader-0.12.10-orig/fbreader/src/library/Library.cpp 2010-04-01 15:14:24.000000000 +0200
17 +++ fbreader-0.12.10/fbreader/src/library/Library.cpp 2010-04-13 13:34:06.000000000 +0200
18 @@ -39,7 +39,7 @@
19 shared_ptr<Library> Library::ourInstance;
20 const size_t Library::MaxRecentListSize = 10;
21
22 -Library::Library &Library::Instance() {
23 +Library &Library::Instance() {
24 if (ourInstance.isNull()) {
25 ourInstance = new Library();
26 }