Date: Mon, 30 Mar 2015 12:14:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382652 - head/games/blackshadeselite/files Message-ID: <201503301214.t2UCEkqT060803@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Mar 30 12:14:45 2015 New Revision: 382652 URL: https://svnweb.freebsd.org/changeset/ports/382652 QAT: https://qat.redports.org/buildarchive/r382652/ Log: - Fix build on DragonFly Added: head/games/blackshadeselite/files/patch-Source_Net_Client.cpp (contents, props changed) head/games/blackshadeselite/files/patch-Source_Net_Server.cpp (contents, props changed) Modified: head/games/blackshadeselite/files/patch-Source-Config.cpp Modified: head/games/blackshadeselite/files/patch-Source-Config.cpp ============================================================================== --- head/games/blackshadeselite/files/patch-Source-Config.cpp Mon Mar 30 12:14:20 2015 (r382651) +++ head/games/blackshadeselite/files/patch-Source-Config.cpp Mon Mar 30 12:14:45 2015 (r382652) @@ -1,6 +1,17 @@ --- Source/Config.cpp.orig 2007-11-22 01:14:16.000000000 +0300 -+++ Source/Config.cpp 2008-01-28 00:13:47.000000000 +0300 -@@ -44,8 +44,10 @@ ++++ Source/Config.cpp 2015-03-27 01:33:20.608154000 +0300 +@@ -19,6 +19,10 @@ + */ + #include <fstream> + #include <iostream> ++#include <cstdlib> ++#include <cstring> ++ ++#include <limits.h> + + #include "Config.h" + +@@ -44,8 +48,10 @@ customlevels = 0; musictoggle = 1; azertykeyboard = 0; Added: head/games/blackshadeselite/files/patch-Source_Net_Client.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/blackshadeselite/files/patch-Source_Net_Client.cpp Mon Mar 30 12:14:45 2015 (r382652) @@ -0,0 +1,14 @@ +--- Source/Net/Client.cpp.orig 2007-11-22 01:14:15.000000000 +0300 ++++ Source/Net/Client.cpp 2015-03-27 01:30:41.036397000 +0300 +@@ -2,10 +2,8 @@ + + #define SRV_IP "0.0.0.0" + +-Client::Client() ++Client::Client() : NetCommon() + { +- NetCommon::NetCommon(); +- + memset((char *)&remote_sock, 0, sizeof(remote_sock)); + remote_sock.sin_family = AF_INET; + remote_sock.sin_port = htons(port); Added: head/games/blackshadeselite/files/patch-Source_Net_Server.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/blackshadeselite/files/patch-Source_Net_Server.cpp Mon Mar 30 12:14:45 2015 (r382652) @@ -0,0 +1,13 @@ +--- Source/Net/Server.cpp.orig 2007-11-22 01:14:15.000000000 +0300 ++++ Source/Net/Server.cpp 2015-03-27 01:30:50.356180000 +0300 +@@ -1,9 +1,7 @@ + #include "Server.h" + +-Server::Server() ++Server::Server() : NetCommon() + { +- NetCommon::NetCommon(); +- + memset((char *) &local_sock, 0, sizeof(local_sock)); + local_sock.sin_family = AF_INET; + local_sock.sin_port = htons(PORT);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503301214.t2UCEkqT060803>