summaryrefslogtreecommitdiff
path: root/games-arcade/xboing/files/xboing-2.4-clang16.patch
blob: 72c632850de027f7cece66bd6e7b9f121053babb (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
28
29
30
31
32
33
34
35
36
37
Ideally would want to enable -DNeedFunctionPrototypes=1
but it leads to more issues not handled here.

https://bugs.gentoo.org/870412
--- a/eyedude.c
+++ b/eyedude.c
@@ -51,2 +51,3 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <math.h>
--- a/include/intro.h
+++ b/include/intro.h
@@ -84,2 +84,3 @@
 void DrawIntroTitle(Display *display, Window window, int x, int y);
+void HandleBlink(Display *display, Window window);
 #else
@@ -92,2 +93,3 @@
 void DoIntroTitle();
+void HandleBlink();
 #endif
--- a/include/level.h
+++ b/include/level.h
@@ -74,2 +74,3 @@
 void DisplayLevelInfo(Display *display, Window window, u_long level);
+void DisplayLevelNumber(Display *display, Window window, u_long level);
 void CheckGameRules(Display *display, Window window);
@@ -113,2 +114,3 @@
 void DisplayLevelInfo();
+void DisplayLevelNumber();
 void CheckGameRules();
--- a/main.c
+++ b/main.c
@@ -231,3 +231,3 @@
 {
-	static oldx = 0;
+	static int oldx = 0;
 	int x, y;