gentoo-ebuilds/games-arcade/xgalaga/files/xgalaga-2.1.1.0-function-and-ints.patch
Anna (navi) Figueiredo Gomes 429f3311a0
games-arcade/xgalaga: Add patch to fix Wimplicit-int
Closes: https://bugs.gentoo.org/877287
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Closes: https://github.com/gentoo/gentoo/pull/30705
Signed-off-by: Sam James <sam@gentoo.org>
2023-04-23 08:47:12 +01:00

24 lines
465 B
Diff

Bug: https://bugs.gentoo.org/877287
--- a/title.c
+++ b/title.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
@@ -17,9 +18,9 @@
#include "proto.h"
/* for scrolling credits */
-const LINESIZE= 70;
-const VISIBLELINES=7;
-const SPEEDFACTOR=5;
+const int LINESIZE=70;
+const int VISIBLELINES=7;
+const int SPEEDFACTOR=5;
char *gchLBuf;
int giCreditLines=0, giActCreditLine=0;