summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@