pkgsrc/games/nighthawk/patches/patch-bc

22 lines
520 B
Text

$NetBSD: patch-bc,v 1.2 2003/11/09 11:17:53 kleink Exp $
--- src/object.cc.orig 1998-05-14 14:06:35.000000000 +0200
+++ src/object.cc 2003-11-09 12:13:13.000000000 +0100
@@ -14,6 +14,8 @@
extern "C" {
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
+#include <strings.h>
#include <math.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -364,7 +366,7 @@
void tlaser::colision(float cx,float cy)
{
- register status = 0;
+ register int status = 0;
//test other
if(colision_other(cx,cy))
{