Hi all,

I've fixed the bug. Will upload it soon. Patch as attachment.

Yours,
Paul
Description: Fix FTBFS caused by -Werror=implicit-function-declaration
Bug-Debian: http://bugs.debian.org/1066722
Author: Ying-Chun Liu (PaulLiu) <[email protected]>
Last-Update: 2024-03-29
Index: xracer-0.96.9.1/xracer-0.96.9/src/mpeg/spatscal.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/mpeg/spatscal.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/mpeg/spatscal.c
@@ -2,6 +2,7 @@
 #include "config.h"
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #ifdef HAVE_STRING_H
 #include <string.h>
Index: xracer-0.96.9.1/xracer-0.96.9/src/mpeg/store.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/mpeg/store.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/mpeg/store.c
@@ -31,6 +31,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "mpeg-config.h"
 #include "global.h"
Index: xracer-0.96.9.1/xracer-0.96.9/src/game.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/game.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/game.c
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include <GL/glut.h>
 
Index: xracer-0.96.9.1/xracer-0.96.9/src/math.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/math.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/math.c
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <math.h>
 
 #include "xracer-math.h"
Index: xracer-0.96.9.1/xracer-0.96.9/src/video.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/video.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/video.c
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include <GL/glu.h>
 
Index: xracer-0.96.9.1/xracer-0.96.9/src/arch_posix.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/arch_posix.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/arch_posix.c
@@ -27,6 +27,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
Index: xracer-0.96.9.1/xracer-0.96.9/src/ws_x11.c
===================================================================
--- xracer-0.96.9.1.orig/xracer-0.96.9/src/ws_x11.c
+++ xracer-0.96.9.1/xracer-0.96.9/src/ws_x11.c
@@ -24,6 +24,8 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
+#include <GL/glut.h>
+
 #include "xracer.h"
 #include "xracer-ws.h"
 #include "xracer-log.h"

Attachment: OpenPGP_0x44173FA13D058888.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to