pkgsrc/games/ivan/patches/patch-ag
dholland 30e8f4bec2 Requires gmake.
Fix build on 64-bit and/or gcc4 platforms.
(Note: it doesn't work for me, but now it at least compiles...)
Correct typo in PLIST.
PKGREVISION++.
2008-07-27 21:44:47 +00:00

13 lines
565 B
Text

$NetBSD: patch-ag,v 1.1 2008/07/27 21:44:47 dholland Exp $
--- Main/Include/char.h~ 2004-12-10 10:51:40.000000000 -0500
+++ Main/Include/char.h 2008-07-27 16:27:46.000000000 -0400
@@ -991,7 +991,7 @@
truth IsUsingWeaponOfCategory(int) const;
virtual truth IsKamikazeDwarf() const { return false; }
void AddRandomScienceName(festring&) const;
- truth IsStuck() const { return truth(TrapData); }
+ truth IsStuck() const { return truth(TrapData != NULL); }
festring GetTrapDescription() const;
truth TryToUnStickTraps(v2);
void RemoveTrap(ulong);