vapier 15/04/06 18:10:56 Modified: README.history Added: 10_all_gcc-3.4.6-c-parse-bison-3.patch Log: fix building with bison-3 #519704 by Andrew Church
Revision Changes Path 1.2 src/patchsets/gcc/3.4.6/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.4.6/gentoo/README.history?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.4.6/gentoo/README.history?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.4.6/gentoo/README.history?r1=1.1&r2=1.2 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/3.4.6/gentoo/README.history,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- README.history 6 Apr 2015 18:09:29 -0000 1.1 +++ README.history 6 Apr 2015 18:10:56 -0000 1.2 @@ -1,3 +1,6 @@ +1.8 06 Apr 2015 + + 10_all_gcc-3.4.6-c-parse-bison-3.patch + 1.7 08 Jan 2013 + 05_all_gcc-3.4.x-siginfo.patch + 09_all_gcc-3.4.6-c-parse-bison.patch 1.1 src/patchsets/gcc/3.4.6/gentoo/10_all_gcc-3.4.6-c-parse-bison-3.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.4.6/gentoo/10_all_gcc-3.4.6-c-parse-bison-3.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.4.6/gentoo/10_all_gcc-3.4.6-c-parse-bison-3.patch?rev=1.1&content-type=text/plain Index: 10_all_gcc-3.4.6-c-parse-bison-3.patch =================================================================== fix building w/bison-3 https://bugs.gentoo.org/519704 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -58,6 +58,11 @@ /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } +/* Newer bison doesn't define YYLEX anymore. */ +#ifndef YYLEX +# define YYLEX yylex() +#endif + /* Like the default stack expander, except (1) use realloc when possible, (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca.
