Index: head/games/wxlauncher/Makefile =================================================================== --- head/games/wxlauncher/Makefile (revision 385433) +++ head/games/wxlauncher/Makefile (revision 385434) @@ -1,68 +1,70 @@ # Created by: lightside # $FreeBSD$ PORTNAME= wxlauncher PORTVERSION= 0.9.6 CATEGORIES= games DISTNAME= ${PORTNAME}-${DISTVERSIONFULL} MAINTAINER= lightside@gmx.com COMMENT= Multi-platform launcher for the Freespace 2 Source Code Project LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GPLv2.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 USE_GITHUB= yes GH_ACCOUNT= wxLauncher GH_TAGNAME= release-${PORTVERSION} USES= cmake:outsource openal python:2,build USE_SDL= sdl WX_UNICODE= yes CMAKE_ARGS+= -DRESOURCES_PATH:STRING="${DATADIR}" PORTDATA= * PORTDOCS= Authors.md License.txt ReadMe*.md Thanks.txt PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png DESKTOP_ENTRIES="wxLauncher" "${COMMENT}" \ "${PORTNAME}" "${PORTNAME}" \ "Game;" false OPTIONS_DEFINE= DOCS JOYSTICK WX3 OPTIONS_DEFAULT= JOYSTICK JOYSTICK_DESC= Build with joystick support JOYSTICK_CMAKE_ON= -DUSE_JOYSTICK:BOOL=ON JOYSTICK_CMAKE_OFF= -DUSE_JOYSTICK:BOOL=OFF WX3_DESC= Build with using wxWidgets 3.0+ version (2.8 otherwise) +WX3_CXXFLAGS= -std=c++11 +WX3_USES= compiler:c++11-lib WX3_USE= WX=3.0+ WX3_USE_OFF= WX=2.8 .include # Allow to build with using concrete wxWidgets version .if ${PORT_OPTIONS:MWX3} SED_RE_WX3= wxWidgets 2\./,+1d .else SED_RE_WX3= NOT wxWidgets_FOUND/,+3d .endif post-patch: .SILENT # Change version_strings.cpp.in file, based on GH_TAGNAME, without using git ${REINPLACE_CMD} -e '/find_program(GIT_EXECUTABLE/d ; \ /version_strings.cpp will be generated/d ; /${SED_RE_WX3}' \ ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's|123456789abc+ unknown custom tip|${GH_TAGNAME}|' \ ${WRKSRC}/code/global/version_strings.cpp.in pre-install: ${INSTALL_DATA} ${WRKSRC}/onlinehelp/images/header.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include Index: head/games/wxlauncher/files/patch-code_apis_ProfileManager.cpp =================================================================== --- head/games/wxlauncher/files/patch-code_apis_ProfileManager.cpp (nonexistent) +++ head/games/wxlauncher/files/patch-code_apis_ProfileManager.cpp (revision 385434) @@ -0,0 +1,11 @@ +--- code/apis/ProfileManager.cpp.orig 2015-01-28 04:29:37 UTC ++++ code/apis/ProfileManager.cpp +@@ -307,7 +307,7 @@ void ProMan::LoadNewsMapFromGlobalProfil + if (globalProfile->Read(GBL_CFG_NET_THE_NEWS, &theNews) && + (globalProfile->Read(GBL_CFG_NET_NEWS_LAST_TIME, &lastDownloadNewsStr))) { + if ((!theNews.IsEmpty()) && +- (NULL != lastDownloadNews.ParseFormat( ++ (0 != lastDownloadNews.ParseFormat( + lastDownloadNewsStr, NEWS_LAST_TIME_FORMAT))) { + newsMap[groupName] = NewsData(theNews, lastDownloadNews); + Property changes on: head/games/wxlauncher/files/patch-code_apis_ProfileManager.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