summaryrefslogtreecommitdiff
path: root/games-arcade/xboing/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-30 15:24:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-30 15:24:40 +0100
commit31459e63971ac3b08706bba949851d93c45043c3 (patch)
treef50f9db11363f1369a1aead733baccaf2842b673 /games-arcade/xboing/files
parenteba9b95ba8976f2938bafa5789c1b50611bb3459 (diff)
gentoo auto-resync : 30:09:2022 - 15:24:40
Diffstat (limited to 'games-arcade/xboing/files')
-rw-r--r--games-arcade/xboing/files/xboing-2.4-clang16.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-arcade/xboing/files/xboing-2.4-clang16.patch b/games-arcade/xboing/files/xboing-2.4-clang16.patch
new file mode 100644
index 000000000000..72c632850de0
--- /dev/null
+++ b/games-arcade/xboing/files/xboing-2.4-clang16.patch
@@ -0,0 +1,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;