mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-libs/neXtaw: fix clang16 patch for non-bison yacc
Looking at bison mailing lists when don't know yacc
is a bad influence.
Fixes: bd7aa280e3
Closes: https://bugs.gentoo.org/876975
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -7,14 +7,12 @@ https://bugs.gentoo.org/871489
|
||||
#include <X11/Xos.h>
|
||||
--- a/X11/neXtaw/laygram.y
|
||||
+++ b/X11/neXtaw/laygram.y
|
||||
@@ -16,2 +16,7 @@
|
||||
@@ -253,2 +253,5 @@
|
||||
|
||||
+%code provides {
|
||||
+ void yyerror(char *s);
|
||||
+ int yylex(void);
|
||||
+}
|
||||
+void yyerror(char *s);
|
||||
+int yylex(void);
|
||||
+
|
||||
%union {
|
||||
int yywrap ()
|
||||
--- a/X11/neXtaw/laylex.l
|
||||
+++ b/X11/neXtaw/laylex.l
|
||||
@@ -88,2 +88,3 @@
|
||||
|
||||
Reference in New Issue
Block a user