1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Add LICENSE

- Fix build with clang 6
This commit is contained in:
Dmitry Marakasov 2018-06-25 15:06:22 +00:00
parent 94cc9070b9
commit f2d7da0b2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473321
2 changed files with 15 additions and 1 deletions

View File

@ -11,6 +11,9 @@ DISTNAME= ${PORTVERSION}_freera++_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Westwood red alert game engine
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/gpl.txt
USES= scons
USE_SDL= sdl mixer
@ -33,6 +36,6 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freera ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
@cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- src/game/loadmap.cpp.orig 2008-01-30 22:37:44 UTC
+++ src/game/loadmap.cpp
@@ -63,7 +63,7 @@ std::ostringstream TempString;
throw LoadMapError();
}
- if (missionData.player != '\0')
+ if (missionData.player != nullptr)
printf ("%s line %i: Player = %s\n", __FILE__, __LINE__, missionData.player);
if (gamemode == GAME_MODE_SINGLE_PLAYER){