summaryrefslogtreecommitdiff
path: root/x11-libs/neXtaw/files/neXtaw-0.15.1-clang16.patch
blob: 70059085ab3d2925e1bec4328e961b5fa894d6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://bugs.gentoo.org/871489
--- a/X11/neXtaw/XawIm.c
+++ b/X11/neXtaw/XawIm.c
@@ -61,2 +61,3 @@
 #include <X11/StringDefs.h>
+#include <X11/ResourceI.h>
 #include <X11/Xos.h>
--- a/X11/neXtaw/laygram.y
+++ b/X11/neXtaw/laygram.y
@@ -14,2 +14,5 @@
 
+void yyerror(char *s);
+int yylex(void);
+
 %}
--- a/X11/neXtaw/laylex.l
+++ b/X11/neXtaw/laylex.l
@@ -88,2 +88,3 @@
 
+void
 yysetsource(s)
@@ -94,2 +95,3 @@
 
+void
 yyerror(s)