diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-13 08:13:18 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-13 08:16:34 -0400 |
commit | 51d79df1c2c83c652ae5da230c51c149e38d4ec1 (patch) | |
tree | 32aec260fa3ea8523e1b4908346074c2fff115e3 /x11-libs | |
parent | profiles: Mask net-misc/spread for removal (diff) | |
download | gentoo-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')
-rw-r--r-- | x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch | 10 |
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 @@ |