[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xbill ports compile fixes

Below are two new patch files for xbill that let
it compile completely and without warnings under
gcc 2.95.1.

I called the first one patch-ab and the second

--- Game.h.orig	Thu Jan 23 11:22:50 1997
+++ Game.h	Sat Oct 30 19:42:00 1999
@@ -4,7 +4,7 @@
 #include "objects.h"
 class Game {
-	unsigned state;
+	int state;
 	int efficiency;
 	unsigned score, level, iteration;

--- Cable.h.orig	Thu Jan 23 11:22:49 1997
+++ Cable.h	Sat Oct 30 19:44:33 1999
@@ -13,7 +13,7 @@
 	void setup();
 	void draw();
 	void update();
-	onspark (int locx, int locy);
+	int onspark (int locx, int locy);
I looked at patch-ad and I don't immediately see
why 'redhat' is being replaced by 'bsd' is the os
list. I compiled/tested without it and xbill 
works fine.

I hope this 'unbreaks' another port though I see
from the makefile it won't be put on the CD anyway.

.... Ken

Visit your host, monkey.org