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.3                  src/patchsets/gcc/3.3.6/gentoo/README.history

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.3.6/gentoo/README.history?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.3.6/gentoo/README.history?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/3.3.6/gentoo/README.history?r1=1.2&r2=1.3

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/3.3.6/gentoo/README.history,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.history      8 Jan 2013 15:19:58 -0000       1.2
+++ README.history      6 Apr 2015 18:10:56 -0000       1.3
@@ -1,5 +1,6 @@
-1.9            [pending]
+1.9            06 Apr 2015
        R 05_all_gcc-4.3.x-siginfo.patch -> 05_all_gcc-3.3.x-siginfo.patch
+       + 10_all_gcc-3.4.6-c-parse-bison-3.patch
 
 1.8            23 Jul 2012
        + 05_all_gcc-4.3.x-siginfo.patch



1.1                  
src/patchsets/gcc/3.3.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.3.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.3.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.
 




Reply via email to