summaryrefslogtreecommitdiff
path: root/media-gfx/xli/files/xli-1.17.0-clang16.patch
blob: bf60765db8b6f8305749432d720829681a1e7ce9 (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
26
27
https://bugs.gentoo.org/870790
--- a/send.c
+++ b/send.c
@@ -37,3 +37,3 @@
 {
-  int         (*old_handler)();
+  int         (*old_handler)(Display *, XErrorEvent *);
   Pixmap        pixmap;
--- a/window.c
+++ b/window.c
@@ -211,3 +211,3 @@
 	XSetWindowAttributes swa;
-	static cmap_atom = None;
+	static int cmap_atom = None;
 	Window cmap_windows[2];
--- a/xli.h
+++ b/xli.h
@@ -14,2 +14,3 @@
 #include <stdlib.h>
+#include <string.h>
 #include <math.h>
--- a/xlito.c
+++ b/xlito.c
@@ -3,2 +3,3 @@
 #include <stdlib.h>
+#include <string.h>
 #include <ctype.h>