From: | "Andreas Proschofsky (suka)" <suka@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-office/openoffice/files: gcc45-buildfix.patch |
Date: | Wed, 12 May 2010 12:25:11 |
Message-Id: | 20100512122509.135712C04D@corvid.gentoo.org |
1 | suka 10/05/12 12:25:08 |
2 | |
3 | Added: gcc45-buildfix.patch |
4 | Log: |
5 | Fix build with gcc 4.5, bug #317207 |
6 | (Portage version: 2.2_rc67/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-office/openoffice/files/gcc45-buildfix.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openoffice/files/gcc45-buildfix.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/openoffice/files/gcc45-buildfix.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gcc45-buildfix.patch |
15 | =================================================================== |
16 | --- cppu/inc/uno/lbnames.h.old 2010-02-02 12:49:41.000000000 +0100 |
17 | +++ cppu/inc/uno/lbnames.h 2010-03-05 17:13:22.000000000 +0100 |
18 | @@ -62,12 +62,12 @@ provoking error here, because PP ignores |
19 | #error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version." |
20 | #elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4) |
21 | #define __CPPU_ENV gcc3 |
22 | -#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4) |
23 | +#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5) |
24 | #define __CPPU_ENV gcc3 |
25 | #elif (__GNUC__ == 3) |
26 | #error "Tested gcc 3 version is <= 3.4. Patch uno/lbnames.h to try your gcc 3 version." |
27 | #else |
28 | -#error "Supported gcc majors are 2 , 3 and 4 <= 4.4. Unsupported gcc major version." |
29 | +#error "Supported gcc majors are 2 , 3 and 4 <= 4.5. Unsupported gcc major version." |
30 | #endif /* defined (__GNUC__) */ |
31 | #endif /* defined (_MSC_VER) */ |