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:
parent
94cc9070b9
commit
f2d7da0b2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473321
@ -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>
|
||||
|
11
games/freera/files/patch-src_game_loadmap.cpp
Normal file
11
games/freera/files/patch-src_game_loadmap.cpp
Normal 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){
|
Loading…
Reference in New Issue
Block a user