handle 64-bit time_t, regen plist/distinfo while there
This commit is contained in:
parent
d6d0600fb5
commit
654350d86f
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:07:39 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2013/04/29 11:35:29 sthen Exp $
|
||||
|
||||
BROKEN-sparc64= SIGBUS on sparc64 when starting
|
||||
|
||||
COMMENT= graphical roguelike game
|
||||
|
||||
DISTNAME= ivan-0.50
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://ivan.sourceforge.net/
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (ivan-0.50.tar.gz) = iN52HqPtNKl3zUEv99Kjbg==
|
||||
RMD160 (ivan-0.50.tar.gz) = foQ0DNj9+9qvf95zD8CnaxN+LpE=
|
||||
SHA1 (ivan-0.50.tar.gz) = 5MWuK5vf1ZoO08h6UEBD3xKw8aQ=
|
||||
SHA256 (ivan-0.50.tar.gz) = 2LxYitkC8nkGqzTC+KnKzgOGe0X/alcCXgRpMfNq1IA=
|
||||
SIZE (ivan-0.50.tar.gz) = 803651
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-FeLib_Include_save_h,v 1.1 2010/06/07 14:48:32 espie Exp $
|
||||
--- FeLib/Include/save.h.orig Mon Jun 7 16:39:39 2010
|
||||
+++ FeLib/Include/save.h Mon Jun 7 16:40:07 2010
|
||||
$OpenBSD: patch-FeLib_Include_save_h,v 1.2 2013/04/29 11:35:29 sthen Exp $
|
||||
--- FeLib/Include/save.h.orig Tue Oct 26 20:35:45 2004
|
||||
+++ FeLib/Include/save.h Mon Apr 29 12:23:05 2013
|
||||
@@ -36,7 +36,7 @@ class outputfile
|
||||
void Put(char What) { fputc(What, Buffer); }
|
||||
void Write(const char* Offset, long Size)
|
||||
@ -19,3 +19,22 @@ $OpenBSD: patch-FeLib_Include_save_h,v 1.1 2010/06/07 14:48:32 espie Exp $
|
||||
truth Eof() { return feof(Buffer); }
|
||||
void ClearFlags() { clearerr(Buffer); }
|
||||
void SeekPosBegin(long Offset) { fseek(Buffer, Offset, SEEK_SET); }
|
||||
@@ -203,6 +203,18 @@ inline outputfile& operator<<(outputfile& SaveFile, lo
|
||||
}
|
||||
|
||||
inline inputfile& operator>>(inputfile& SaveFile, long& Value)
|
||||
+{
|
||||
+ SaveFile.Read(reinterpret_cast<char*>(&Value), sizeof(Value));
|
||||
+ return SaveFile;
|
||||
+}
|
||||
+
|
||||
+inline outputfile& operator<<(outputfile& SaveFile, long long Value)
|
||||
+{
|
||||
+ SaveFile.Write(reinterpret_cast<char*>(&Value), sizeof(Value));
|
||||
+ return SaveFile;
|
||||
+}
|
||||
+
|
||||
+inline inputfile& operator>>(inputfile& SaveFile, long long& Value)
|
||||
{
|
||||
SaveFile.Read(reinterpret_cast<char*>(&Value), sizeof(Value));
|
||||
return SaveFile;
|
||||
|
@ -1,7 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/02/04 18:56:38 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2013/04/29 11:35:29 sthen Exp $
|
||||
@mode g+s
|
||||
@group games
|
||||
bin/ivan
|
||||
@bin bin/ivan
|
||||
@mode
|
||||
@group
|
||||
share/ivan/
|
||||
|
Loading…
Reference in New Issue
Block a user