- Update to 2.3.5

- Fix multiplayer [1]

Submitted by:	Carlos Eduardo G. Carvalho (Cartola) <cartoleba at gmail dot com> ([1])
This commit is contained in:
Dmitry Marakasov 2010-11-09 01:46:52 +00:00
parent 3e0fb124bc
commit 43ac42d616
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264284
3 changed files with 15 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= warzone2100
PORTVERSION= 2.3.4
PORTVERSION= 2.3.5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/releases/${PORTVERSION}/

View File

@ -1,3 +1,2 @@
MD5 (warzone2100-2.3.4.tar.gz) = 7c8182a9313a97e260eac85c20ab6de0
SHA256 (warzone2100-2.3.4.tar.gz) = 70f4512fd52e72131203fb68d7d9602cd4e05d90f79c93ec85f122ecc771fe68
SIZE (warzone2100-2.3.4.tar.gz) = 53594258
SHA256 (warzone2100-2.3.5.tar.gz) = 3a9e42851d6b24497fc07dae8d75bbe2ff1358ffbdeaea2deaa623ec0156a469
SIZE (warzone2100-2.3.5.tar.gz) = 59205795

View File

@ -0,0 +1,12 @@
--- lib/netplay/netplay.c.orig 2010-08-12 01:53:49.000000000 +0400
+++ lib/netplay/netplay.c 2010-11-09 03:37:53.000000000 +0300
@@ -1231,9 +1231,6 @@
hint.ai_family = AF_UNSPEC;
hint.ai_socktype = SOCK_STREAM;
hint.ai_protocol = 0;
-#ifdef AI_V4MAPPED
- flags |= AI_V4MAPPED;
-#endif
#ifdef AI_ADDRCONFIG
flags |= AI_ADDRCONFIG;
#endif