From 31459e63971ac3b08706bba949851d93c45043c3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 30 Sep 2022 15:24:40 +0100 Subject: gentoo auto-resync : 30:09:2022 - 15:24:40 --- games-arcade/xboing/files/xboing-2.4-clang16.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 games-arcade/xboing/files/xboing-2.4-clang16.patch (limited to 'games-arcade/xboing/files') 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 ++#include + #include +--- 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; -- cgit v1.2.3