summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-13 08:13:18 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-13 08:16:34 -0400
commit51d79df1c2c83c652ae5da230c51c149e38d4ec1 (patch)
tree32aec260fa3ea8523e1b4908346074c2fff115e3 /x11-libs/neXtaw
parentprofiles: Mask net-misc/spread for removal (diff)
downloadgentoo-51d79df1c2c83c652ae5da230c51c149e38d4ec1.tar.gz
gentoo-51d79df1c2c83c652ae5da230c51c149e38d4ec1.tar.bz2
gentoo-51d79df1c2c83c652ae5da230c51c149e38d4ec1.zip
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 <ionen@gentoo.org>
Diffstat (limited to 'x11-libs/neXtaw')
-rw-r--r--x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch10
1 files 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 a1f5bf27922c..47b27d7442ae 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 <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 @@