File sopwith-gpl.diff of Package sopwith

Index: sdl_sopwith-1.7.1/src/swmisc.c
===================================================================
--- sdl_sopwith-1.7.1.orig/src/swmisc.c
+++ sdl_sopwith-1.7.1/src/swmisc.c
@@ -26,7 +26,7 @@
 #include <ctype.h>
 #include <string.h>
 
-#include "font.h"
+#include <SDL/SDL_gfxPrimitives_font.h>
 #include "timer.h"
 #include "video.h"
 
@@ -49,7 +49,7 @@ static inline void drawchar(int x, int y
 	if (c < 0 || c >= 256)
 		return;
 
-	p = font_data + c * 8;
+	p = gfxPrimitivesFontdata + c * 8;
 
 	// sdh 27/03/02: use new drawing functions
 
openSUSE Build Service is sponsored by