From 51d79df1c2c83c652ae5da230c51c149e38d4ec1 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 13 Oct 2022 08:13:18 -0400 Subject: [PATCH] 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: bd7aa280e36e37620e378c70aed1f0c04c80969e Closes: https://bugs.gentoo.org/876975 Signed-off-by: Ionen Wolkens --- x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch b/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch index a1f5bf27922c7..47b27d7442ae3 100644 --- a/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch +++ b/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch @@ -7,14 +7,12 @@ https://bugs.gentoo.org/871489 #include --- 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 @@