pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/ivan Requires gmake.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a0655c47a60
branches:  trunk
changeset: 545181:1a0655c47a60
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Jul 27 21:44:47 2008 +0000

description:
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++.

diffstat:

 games/ivan/Makefile         |   5 +++--
 games/ivan/PLIST            |   4 ++--
 games/ivan/distinfo         |  13 ++++++++++++-
 games/ivan/patches/patch-ad |  22 ++++++++++++++++++++++
 games/ivan/patches/patch-ae |  22 ++++++++++++++++++++++
 games/ivan/patches/patch-af |  22 ++++++++++++++++++++++
 games/ivan/patches/patch-ag |  13 +++++++++++++
 games/ivan/patches/patch-ah |  13 +++++++++++++
 games/ivan/patches/patch-ai |  13 +++++++++++++
 games/ivan/patches/patch-aj |  13 +++++++++++++
 games/ivan/patches/patch-ak |  13 +++++++++++++
 games/ivan/patches/patch-al |  13 +++++++++++++
 games/ivan/patches/patch-am |  13 +++++++++++++
 games/ivan/patches/patch-an |  40 ++++++++++++++++++++++++++++++++++++++++
 14 files changed, 214 insertions(+), 5 deletions(-)

diffs (truncated from 304 to 300 lines):

diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/Makefile
--- a/games/ivan/Makefile       Sun Jul 27 21:32:33 2008 +0000
+++ b/games/ivan/Makefile       Sun Jul 27 21:44:47 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/07/27 21:44:47 dholland Exp $
 #
 
 DISTNAME=              ivan-0.50
-PKGREVISION=           6
+PKGREVISION=           7
 CATEGORIES=            games
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ivan/}
 
@@ -12,6 +12,7 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+USE_TOOLS+=            gmake
 GNU_CONFIGURE=         YES
 CONFIGURE_ARGS+=       --localstatedir=${PREFIX}/share
 
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/PLIST
--- a/games/ivan/PLIST  Sun Jul 27 21:32:33 2008 +0000
+++ b/games/ivan/PLIST  Sun Jul 27 21:44:47 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2006/07/05 06:53:13 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/07/27 21:44:47 dholland Exp $
 bin/ivan
 share/ivan/Graphics/Char.pcx
 share/ivan/Graphics/Cursor.pcx
@@ -20,6 +20,6 @@
 share/ivan/Script/item.dat
 share/ivan/Script/material.dat
 share/ivan/Script/olterra.dat
-@dirrm share/ivan/Bone
+@dirrm share/ivan/Bones
 @dirrm share/ivan/Graphics
 @dirrm share/ivan/Script
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/distinfo
--- a/games/ivan/distinfo       Sun Jul 27 21:32:33 2008 +0000
+++ b/games/ivan/distinfo       Sun Jul 27 21:44:47 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/05/19 07:15:24 joerg Exp $
+$NetBSD: distinfo,v 1.5 2008/07/27 21:44:47 dholland Exp $
 
 SHA1 (ivan-0.50.tar.gz) = e4c5ae2b9bdfd59a0ed3c87a504043df12b0f1a4
 RMD160 (ivan-0.50.tar.gz) = 7e84340cd8fdfbdaaf7fde730fc0a76b137e2e91
@@ -6,3 +6,14 @@
 SHA1 (patch-aa) = a52f3945a79e12cc72d30d9609c4bf390809a5bd
 SHA1 (patch-ab) = 63f215564ee0922d1daa5240b5a3b3b4afc5db24
 SHA1 (patch-ac) = 047b81b0253688e4473825a108f4d5c02d95c942
+SHA1 (patch-ad) = 0cf6d0d9dff4482f091bff502b0ebd180734c631
+SHA1 (patch-ae) = 2b55ebd81f5136f5be8081f5dadf953a6370d199
+SHA1 (patch-af) = af3d8e16b1ee3e3e0d5efe2f301b7a5380880b14
+SHA1 (patch-ag) = 58c92ccf5cad81c8030bb0e7f885e95b1ca4d555
+SHA1 (patch-ah) = 56fa7992634cd699eeccbb6702f2ec499d149a21
+SHA1 (patch-ai) = 0bd4ee24abae746489452a5a3fba11f5cb1965e4
+SHA1 (patch-aj) = 61d62867bb5fee01f8c243bc255de30a85781a76
+SHA1 (patch-ak) = 3ca89be9258c4ecc4a2ba16df9faa574983affa1
+SHA1 (patch-al) = 32e9e591e5967ec24525c5a6d5ddbb6294287b3b
+SHA1 (patch-am) = a631ea77b56262915181f8b0a6ed700596c820e1
+SHA1 (patch-an) = 48e334a68d12bfc23ea642956e0119ee0c6189c0
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ad       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- FeLib/Include/fearray.h~   2004-10-26 15:35:44.000000000 -0400
++++ FeLib/Include/fearray.h    2008-07-27 16:22:34.000000000 -0400
+@@ -34,7 +34,7 @@
+ };
+ 
+ template <class type>
+-inline fearray<type>::fearray<type>(const fearray<type>& A)
++inline fearray<type>::fearray(const fearray<type>& A)
+ : Data(A.Data), Size(A.Size)
+ {
+   if(Data)
+@@ -42,7 +42,7 @@
+ }
+ 
+ template <class type>
+-inline fearray<type>::fearray<type>(const type* Array, sizetype Size)
++inline fearray<type>::fearray(const type* Array, sizetype Size)
+ : Size(Size)
+ {
+   char* Ptr = new char[Size * sizeof(type) + sizeof(ulong)];
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ae       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- FeLib/Include/save.h~      2004-10-26 15:35:45.000000000 -0400
++++ FeLib/Include/save.h       2008-07-27 16:24:25.000000000 -0400
+@@ -36,7 +36,7 @@
+   void Put(char What) { fputc(What, Buffer); }
+   void Write(const char* Offset, long Size)
+   { fwrite(Offset, 1, Size, Buffer); }
+-  truth IsOpen() { return truth(Buffer); }
++  truth IsOpen() { return truth(Buffer != NULL); }
+   void Close() { fclose(Buffer); }
+   void Flush() { fflush(Buffer); }
+   void ReOpen();
+@@ -58,7 +58,7 @@
+   rect ReadRect();
+   int Get() { return fgetc(Buffer); }
+   void Read(char* Offset, long Size) { fread(Offset, 1, Size, Buffer); }
+-  truth IsOpen() { return truth(Buffer); }
++  truth IsOpen() { return truth(Buffer != NULL); }
+   truth Eof() { return feof(Buffer); }
+   void ClearFlags() { clearerr(Buffer); }
+   void SeekPosBegin(long Offset) { fseek(Buffer, Offset, SEEK_SET); }
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-af       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,22 @@
+$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();
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ag       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$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);
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ah       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Include/stack.h~      2004-10-26 15:36:44.000000000 -0400
++++ Main/Include/stack.h       2008-07-27 16:28:11.000000000 -0400
+@@ -56,7 +56,7 @@
+   stackiterator(stackslot* Slot) : Slot(Slot) { }
+   stackiterator& operator++() { Slot = Slot->Next; return *this; }
+   stackiterator& operator--() { Slot = Slot->Last; return *this; }
+-  truth HasItem() const { return truth(Slot); }
++  truth HasItem() const { return truth(Slot != NULL); }
+   item* operator->() const { return Slot->Item; }
+   item* operator*() const { return Slot->Item; }
+   const stackslot& GetSlot() const { return *Slot; }
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ai       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Include/human.h~      2004-12-10 10:51:41.000000000 -0500
++++ Main/Include/human.h       2008-07-27 16:29:28.000000000 -0400
+@@ -130,7 +130,7 @@
+   virtual truth CheckIfEquipmentIsNotUsable(int) const;
+   virtual void AddSpecialStethoscopeInfo(felist&) const;
+   virtual item* GetPairEquipment(int) const;
+-  virtual truth HasHead() const { return truth(GetHead()); }
++  virtual truth HasHead() const { return truth(GetHead() != NULL); }
+   virtual const festring& GetStandVerb() const;
+   virtual head* Behead();
+   virtual void AddAttributeInfo(festring&) const;
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-aj       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Source/command.cpp~   2004-12-10 10:51:44.000000000 -0500
++++ Main/Source/command.cpp    2008-07-27 16:31:07.000000000 -0400
+@@ -1043,7 +1043,7 @@
+   Char->SetAction(Go);
+   Char->EditAP(Char->GetStateAPGain(100)); // gum solution
+   Char->GoOn(Go, true);
+-  return truth(Char->GetAction());
++  return truth(Char->GetAction() != NULL);
+ }
+ 
+ truth commandsystem::ShowConfigScreen(character*)
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-ak       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$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;
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-al       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Source/lterras.cpp~   2004-12-10 10:51:47.000000000 -0500
++++ Main/Source/lterras.cpp    2008-07-27 16:35:06.000000000 -0400
+@@ -1193,7 +1193,7 @@
+ 
+ truth fountain::IsFountainWithWater() const
+ {
+-  return truth(GetSecondaryMaterial());
++  return truth(GetSecondaryMaterial() != NULL);
+ }
+ 
+ void liquidterrain::SurviveEffect(character* Survivor)
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-am       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Source/fluid.cpp~     2004-12-10 10:51:45.000000000 -0500
++++ Main/Source/fluid.cpp      2008-07-27 16:38:19.000000000 -0400
+@@ -598,7 +598,7 @@
+   if(!UseImage())
+     return;
+ 
+-  truth InitRandMap = truth(MotherItem);
++  truth InitRandMap = truth(MotherItem != NULL);
+   Image.Clear(InitRandMap);
+ 
+   if(GearImage)
diff -r 8c6c0ad1f0e6 -r 1a0655c47a60 games/ivan/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/ivan/patches/patch-an       Sun Jul 27 21:44:47 2008 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-an,v 1.1 2008/07/27 21:44:47 dholland Exp $
+
+--- Main/Source/script.cpp.orig        2004-10-26 15:37:05.000000000 -0400
++++ Main/Source/script.cpp     2008-07-27 16:45:49.000000000 -0400
+@@ -471,7 +471,7 @@
+   INIT_ENTRY(Flags);
+ }
+ 
+-contentscript<character>::contentscript<character>()
++contentscript<character>::contentscript()
+ : INIT(Team, DEFAULT_TEAM),
+   INIT(Flags, 0)
+ { }
+@@ -498,7 +498,7 @@
+   return Instance;
+ }
+ 
+-contentscript<item>::contentscript<item>()
++contentscript<item>::contentscript()
+ : INIT(Category, ANY_CATEGORY),
+   INIT(MinPrice, 0),
+   INIT(MaxPrice, MAX_PRICE),
+@@ -592,7 +592,7 @@
+   INIT_ENTRY(IsInside);
+ }
+ 
+-contentscript<olterrain>::contentscript<olterrain>()
++contentscript<olterrain>::contentscript()
+ : INIT(VisualEffects, 0),
+   INIT(AttachedArea, DEFAULT_ATTACHED_AREA),
+   INIT(AttachedEntry, DEFAULT_ATTACHED_ENTRY)
+@@ -679,7 +679,7 @@
+   }
+ }
+ 
+-template <class type, class contenttype> contentmap<type, contenttype>::contentmap<type, contenttype>() : ContentMap(0) { }



Home | Main Index | Thread Index | Old Index