update to 0.22.
still network compatible with 0.21.2 network matches tested with edd@
This commit is contained in:
parent
b280b89a8f
commit
848d5d29da
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2009/05/18 05:59:23 phessler Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2009/10/13 21:48:10 phessler Exp $
|
||||
|
||||
DIST_SUBDIR ?= alephone
|
||||
COMMENT = open source game engine based on Marathon 2: Durandal
|
||||
|
||||
DISTNAME = AlephOne-20081226
|
||||
PKGNAME = alephone-0.21.2
|
||||
DISTNAME = AlephOne-20090909
|
||||
PKGNAME = alephone-0.22
|
||||
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
CATEGORIES = games x11
|
||||
@ -22,6 +22,7 @@ PERMIT_DISTFILES_FTP = Yes
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=marathon/} \
|
||||
http://www.treellama.org/alephone/
|
||||
WANTLIB = GL GLU SDL c m ogg pthread smpeg stdc++ z
|
||||
|
||||
BUILD_DEPENDS = ::devel/automake/${AUTOMAKE_VER} \
|
||||
::devel/autoconf/${AUTOCONF_VER}
|
||||
LIB_DEPENDS = ::devel/boost \
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (alephone/AlephOne-20081226.tar.bz2) = e9nljN+RHV2wGhHStGxdmA==
|
||||
RMD160 (alephone/AlephOne-20081226.tar.bz2) = RmY5EioFB/oiiiQ8LmNoHDyjl+0=
|
||||
SHA1 (alephone/AlephOne-20081226.tar.bz2) = KkDhB5yaFIl5+7Qx5k9jPYH67PA=
|
||||
SHA256 (alephone/AlephOne-20081226.tar.bz2) = a3Ulk7yXUVvo7z3OGoPXAMa9/+obskSWwaW6f5NeFXY=
|
||||
SIZE (alephone/AlephOne-20081226.tar.bz2) = 3002611
|
||||
MD5 (alephone/AlephOne-20090909.tar.bz2) = TMiMUjzjlJku8wmnHcIbQg==
|
||||
RMD160 (alephone/AlephOne-20090909.tar.bz2) = W5xQ12C+YYJjFRXEQelfqP1kjRQ=
|
||||
SHA1 (alephone/AlephOne-20090909.tar.bz2) = QjYaGCcDstpcOzHcrEQYgS4y3mg=
|
||||
SHA256 (alephone/AlephOne-20090909.tar.bz2) = cFMuJ5Kz7RdZOG3ZzjITX0gshqQ7lkOpUkslzamZKpU=
|
||||
SIZE (alephone/AlephOne-20090909.tar.bz2) = 3145981
|
||||
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-Source_Files_Network_network_messages_cpp,v 1.1.1.1 2008/07/09 16:56:43 phessler Exp $
|
||||
--- Source_Files/Network/network_messages.cpp.orig Sat Jun 14 23:36:02 2008
|
||||
+++ Source_Files/Network/network_messages.cpp Sun Jun 15 00:04:52 2008
|
||||
@@ -104,9 +104,12 @@ static void inflateNetPlayer(AIStream& inputStream, Ne
|
||||
bool BigChunkOfZippedDataMessage::inflateFrom(const UninflatedMessage& inUninflated)
|
||||
{
|
||||
uLongf size;
|
||||
+ uint32 size_temp;
|
||||
AIStreamBE inputStream(inUninflated.buffer(), 4);
|
||||
-
|
||||
- inputStream >> (uint32&) size;
|
||||
+
|
||||
+ inputStream >> (uint32&) size_temp;
|
||||
+
|
||||
+ size = (uLongf)size_temp;
|
||||
|
||||
// extra copy because we can't access private mBuffer
|
||||
std::auto_ptr<byte> temp(new byte[size]);
|
Loading…
Reference in New Issue
Block a user