pkgsrc/games/ivan/patches/patch-ak
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
611 B
Text

$NetBSD: patch-ak,v 1.1 2008/07/27 21:44:47 dholland Exp $
--- Main/Source/lsquare.cpp~ 2004-12-10 10:51:47.000000000 -0500
+++ Main/Source/lsquare.cpp 2008-07-27 16:34:33.000000000 -0400
@@ -1585,7 +1585,7 @@
character* Character = GetCharacter();
if(Character)
- DuplicatedSomething = truth(Character->DuplicateToNearestSquare(Beam.Owner, Beam.SpecialParameters));
+ DuplicatedSomething = truth(Character->DuplicateToNearestSquare(Beam.Owner, Beam.SpecialParameters) != NULL);
if(GetStack()->Duplicate(DuplicatedSomething ? 4 : 5, Beam.SpecialParameters))
DuplicatedSomething = true;