1 |
ssuominen 10/05/06 11:28:21 |
2 |
|
3 |
Added: epos-2.5.37-gcc45.patch |
4 |
Log: |
5 |
Fix building with GCC 4.5+ wrt #318585 by Kacper Kowalik. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-accessibility/epos/files/epos-2.5.37-gcc45.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/epos/files/epos-2.5.37-gcc45.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/epos/files/epos-2.5.37-gcc45.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: epos-2.5.37-gcc45.patch |
15 |
=================================================================== |
16 |
Fixing build with gcc 4.5 |
17 |
|
18 |
http://bugs.gentoo.org/show_bug.cgi?id=318585 |
19 |
|
20 |
--- src/nnet/neural_parse.yy |
21 |
+++ src/nnet/neural_parse.yy |
22 |
@@ -255,7 +255,7 @@ |
23 |
|
24 |
int yyerror (char *s) |
25 |
{ |
26 |
- shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s)); |
27 |
+ shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s)); |
28 |
return -1; |
29 |
} |