diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-16 20:50:38 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-16 20:59:42 -0400 |
commit | 180ac825ebfad6b0ee3b2508cb51e996faf628c9 (patch) | |
tree | 403563a73608596dfe505de28bd67e62953f6e8d /x11-libs/neXtaw | |
parent | sys-devel/binutils: drop forced exec stack warnings for alt-arches (diff) | |
download | gentoo-180ac825ebfad6b0ee3b2508cb51e996faf628c9.tar.gz gentoo-180ac825ebfad6b0ee3b2508cb51e996faf628c9.tar.bz2 gentoo-180ac825ebfad6b0ee3b2508cb51e996faf628c9.zip |
x11-libs/neXtaw: fix clang16 again for /both/ bison and yacc
Thought may have pushed wrong patch given had tested it with yacc,
but turns out that 1st patch worked with bison but broke dev-util/yacc,
and 2nd patch worked with yacc but broke bison (with clang16 that is),
and hadn't retried bison.
Tried with both this time, hopefully fine.
Thanks-to: Markus Peloquin
Bug: 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.patch | 4 |
1 files changed, 2 insertions, 2 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 47b27d7442ae..70059085ab3d 100644 --- a/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch +++ b/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch @@ -7,12 +7,12 @@ https://bugs.gentoo.org/871489 #include <X11/Xos.h> --- a/X11/neXtaw/laygram.y +++ b/X11/neXtaw/laygram.y -@@ -253,2 +253,5 @@ +@@ -14,2 +14,5 @@ +void yyerror(char *s); +int yylex(void); + - int yywrap () + %} --- a/X11/neXtaw/laylex.l +++ b/X11/neXtaw/laylex.l @@ -88,2 +88,3 @@ |