Index: head/games/keeperrl/Makefile =================================================================== --- head/games/keeperrl/Makefile (revision 478237) +++ head/games/keeperrl/Makefile (revision 478238) @@ -1,55 +1,53 @@ # $FreeBSD$ PORTNAME= keeperrl PORTVERSION= 0.0.${ALPHA_VERSION} PORTREVISION= 2 CATEGORIES= games PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= c0fc69cbee72.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Ambitious dungeon builder with roguelike elements LICENSE= GPLv2 OFL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.txt LICENSE_FILE_OFL11= ${WRKSRC}/data_contrib/SIL_Open_Font_License.txt -BROKEN_FreeBSD_10= needs c++14, does not build even with clang5 - LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl -USES= gmake localbase openal +USES= compiler:c++14-lang gmake localbase openal USE_GITHUB= yes GH_ACCOUNT= miki151 GH_TAGNAME= alpha${ALPHA_VERSION} USE_GL= gl USE_SDL= sdl2 image2 ALPHA_VERSION= 23 NO_CONFIGURE= yes LIBS+= -lexecinfo LLD_UNSAFE= yes MAKE_ARGS= DATA_DIR="${DATADIR}" GCC="${CXX}" \ LDFLAGS="${LDFLAGS}" RELEASE=true DESKTOP_ENTRIES="KeeperRL" "" "" "keeper" \ "Game;Simulation;" false post-patch: @${REINPLACE_CMD} -e '/^CFLAGS =/ s|=|= ${CFLAGS}|' \ -e '/^LIBS =/ s|$$| ${LIBS}|' \ -e 's|bash|sh|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|bash|sh|' ${WRKSRC}/check_serial.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/keeper ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "data_contrib data_free" \ ${STAGEDIR}${DATADIR} "! -name *License.txt" .include Index: head/games/keeperrl/files/patch-stack__printer.cpp =================================================================== --- head/games/keeperrl/files/patch-stack__printer.cpp (nonexistent) +++ head/games/keeperrl/files/patch-stack__printer.cpp (revision 478238) @@ -0,0 +1,20 @@ +https://svnweb.freebsd.org/changeset/base/294930 + +stack_printer.cpp:329:18: error: assigning to 'char *' from incompatible type 'void *' + ss.ss_sp = (void*)alternate_stack; + ^~~~~~~~~~~~~~~~~~~~~~ + +--- stack_printer.cpp.orig 2017-10-24 09:45:42 UTC ++++ stack_printer.cpp +@@ -326,7 +326,11 @@ int printStacktraceWithGdb() { + stack_t ss = {}; + /* malloc is usually used here, I'm not 100% sure my static allocation + is valid but it seems to work just fine. */ ++#if defined(__DragonFly__) || (defined(__FreeBSD__) && __FreeBSD__ < 11) ++ ss.ss_sp = (char*)alternate_stack; ++#else + ss.ss_sp = (void*)alternate_stack; ++#endif + ss.ss_size = SIGSTKSZ; + ss.ss_flags = 0; + Property changes on: head/games/keeperrl/files/patch-stack__printer.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