Index: head/games/openxcom/Makefile =================================================================== --- head/games/openxcom/Makefile (revision 508939) +++ head/games/openxcom/Makefile (revision 508940) @@ -1,56 +1,54 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= openxcom PORTVERSION= 1.0 DISTVERSIONPREFIX= v PORTREVISION= 9 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source reimplementation of the original X-Com LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libyaml-cpp.so:devel/yaml-cpp -BROKEN_powerpc64= fails to compile: XcomResourcePack.cpp: undefined reference to YAML::LoadFile - USE_GITHUB= yes GH_ACCOUNT= SupSuper GH_PROJECT= OpenXcom -USES= compiler:c++11-lang gmake pkgconfig +USES= compiler:c++11-lang gl gmake pkgconfig sdl USE_CXXSTD= c++11 USE_SDL= sdl mixer image gfx USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= Makefile.simple SUB_FILES= pkg-message PLIST_FILES= bin/openxcom share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.svg PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/README.txt \ ${WRKSRC}/src/Engine/CrossPlatform.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/res/linux/openxcom.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/res/linux/icons/openxcom.svg ${STAGEDIR}${PREFIX}/share/pixmaps/ @cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/CHANGELOG.txt ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/openxcom/files/patch-src_Engine_Language.cpp =================================================================== --- head/games/openxcom/files/patch-src_Engine_Language.cpp (nonexistent) +++ head/games/openxcom/files/patch-src_Engine_Language.cpp (revision 508940) @@ -0,0 +1,10 @@ +--- src/Engine/Language.cpp.orig 2019-08-03 22:25:23 UTC ++++ src/Engine/Language.cpp +@@ -17,6 +17,7 @@ + * along with OpenXcom. If not, see . + */ + #include "Language.h" ++#include + #include + #include + #include Property changes on: head/games/openxcom/files/patch-src_Engine_Language.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/openxcom/files/patch-src_Engine_OptionInfo.cpp =================================================================== --- head/games/openxcom/files/patch-src_Engine_OptionInfo.cpp (nonexistent) +++ head/games/openxcom/files/patch-src_Engine_OptionInfo.cpp (revision 508940) @@ -0,0 +1,10 @@ +--- src/Engine/OptionInfo.cpp.orig 2019-08-03 22:24:06 UTC ++++ src/Engine/OptionInfo.cpp +@@ -16,6 +16,7 @@ + * You should have received a copy of the GNU General Public License + * along with OpenXcom. If not, see . + */ ++#include + #include "OptionInfo.h" + #include "Exception.h" + Property changes on: head/games/openxcom/files/patch-src_Engine_OptionInfo.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/openxcom/files/patch-src_Menu_ListGamesState.cpp =================================================================== --- head/games/openxcom/files/patch-src_Menu_ListGamesState.cpp (nonexistent) +++ head/games/openxcom/files/patch-src_Menu_ListGamesState.cpp (revision 508940) @@ -0,0 +1,10 @@ +--- src/Menu/ListGamesState.cpp.orig 2019-08-03 22:29:28 UTC ++++ src/Menu/ListGamesState.cpp +@@ -17,6 +17,7 @@ + * along with OpenXcom. If not, see . + */ + #include "ListGamesState.h" ++#include + #include + #include "../Engine/Logger.h" + #include "../Savegame/SavedGame.h" Property changes on: head/games/openxcom/files/patch-src_Menu_ListGamesState.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/openxcom/files/patch-src_Menu_ListLoadState.cpp =================================================================== --- head/games/openxcom/files/patch-src_Menu_ListLoadState.cpp (nonexistent) +++ head/games/openxcom/files/patch-src_Menu_ListLoadState.cpp (revision 508940) @@ -0,0 +1,10 @@ +--- src/Menu/ListLoadState.cpp.orig 2019-08-03 22:27:50 UTC ++++ src/Menu/ListLoadState.cpp +@@ -16,6 +16,7 @@ + * You should have received a copy of the GNU General Public License + * along with OpenXcom. If not, see . + */ ++#include + #include "ListLoadState.h" + #include "../Engine/Game.h" + #include "../Engine/Language.h" Property changes on: head/games/openxcom/files/patch-src_Menu_ListLoadState.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/openxcom/files/patch-src_Savegame_Craft.cpp =================================================================== --- head/games/openxcom/files/patch-src_Savegame_Craft.cpp (nonexistent) +++ head/games/openxcom/files/patch-src_Savegame_Craft.cpp (revision 508940) @@ -0,0 +1,10 @@ +--- src/Savegame/Craft.cpp.orig 2019-08-03 22:32:11 UTC ++++ src/Savegame/Craft.cpp +@@ -18,6 +18,7 @@ + */ + #define _USE_MATH_DEFINES + #include "Craft.h" ++#include + #include + #include + #include "../Engine/Language.h" Property changes on: head/games/openxcom/files/patch-src_Savegame_Craft.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property