pkgsrc/games/ivan/patches/patch-af
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

22 lines
1,005 B
Text

$NetBSD: patch-af,v 1.1 2008/07/27 21:44:47 dholland Exp $
--- Main/Include/lsquare.h~ 2004-12-10 10:51:41.000000000 -0500
+++ Main/Include/lsquare.h 2008-07-27 16:26:49.000000000 -0400
@@ -202,7 +202,7 @@
void PostProcessForBone(double&, int&);
void DisplayEngravedInfo(festring&) const;
truth EngravingsCanBeReadByPlayer();
- truth HasEngravings() const { return truth(Engraved); }
+ truth HasEngravings() const { return truth(Engraved != NULL); }
void FinalProcessForBone();
truth IsFreezed() const { return Flags & FREEZED; }
truth IsDangerousToBreathe(const character*) const;
@@ -237,7 +237,7 @@
void SendSunLightSignals();
const sunemittervector& GetSunEmitter() const { return SunEmitter; }
void ZeroReSunEmitatedFlags();
- virtual truth HasBeenSeen() const { return truth(Memorized); }
+ virtual truth HasBeenSeen() const { return truth(Memorized != NULL); }
truth CalculateIsTransparent();
void CalculateSunLightLuminance(ulong);
void CreateMemorized();