- if we're going to supply the build makefile, it shouldn't require gmake. - don't install executable html or gif files - add patch comments - const correctness for string constants, as demanded by gcc 4.5 - avoid needing -lcompat - fix a y2038 issue PKGREVISION -> 2
15 lines
703 B
Text
15 lines
703 B
Text
$NetBSD: patch-object_handler_h,v 1.1 2011/12/20 16:18:17 dholland Exp $
|
|
|
|
- const correctness demanded by recent gcc
|
|
|
|
--- object_handler.h~ 1997-04-17 13:07:38.000000000 +0000
|
|
+++ object_handler.h
|
|
@@ -297,7 +297,7 @@ class object_handler
|
|
bool can_built (int id, int x, int y, int cmd,
|
|
bool is_robot = false);
|
|
bool attack_possible (int id, int x, int y);
|
|
- void write (int color, char msg []);
|
|
+ void write (int color, const char msg []);
|
|
bool direct_move (int id, int range, int &dx, int &dy);
|
|
bool max_diff (int x, int y, int h);
|
|
bool min_diff (int x, int y, int h);
|