svn commit: r559669 - head/games/DDNet
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Dec 30 16:19:28 UTC 2020
Author: pkubaj
Date: Wed Dec 30 16:19:27 2020
New Revision: 559669
URL: https://svnweb.freebsd.org/changeset/ports/559669
Log:
games/DDNet: fix build on GCC architectures
/wrkdirs/usr/ports/games/DDNet/work/DDNet-15.2.3/src/engine/server/server.cpp: In member function 'int CServer::Init()':
/wrkdirs/usr/ports/games/DDNet/work/DDNet-15.2.3/src/engine/server/server.cpp:525:2: error: 'memset' was not declared in this scope
525 | memset(m_aPrevStates, CClient::STATE_EMPTY, MAX_CLIENTS * sizeof(int));
Modified:
head/games/DDNet/Makefile
Modified: head/games/DDNet/Makefile
==============================================================================
--- head/games/DDNet/Makefile Wed Dec 30 16:18:30 2020 (r559668)
+++ head/games/DDNet/Makefile Wed Dec 30 16:19:27 2020 (r559669)
@@ -12,7 +12,7 @@ COMMENT= DDraceNetwork, a cooperative racing mod of Te
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/license.txt
-USES= cmake pkgconfig python sqlite:3 ssl tar:xz
+USES= cmake compiler:c++11-lang pkgconfig python sqlite:3 ssl tar:xz
CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}"
CMAKE_OFF= AUTOUPDATE DOWNLOAD_GTEST PREFER_BUNDLED_LIBS
More information about the svn-ports-all
mailing list