diff --git a/emulators/cannonball/Makefile b/emulators/cannonball/Makefile index 2626fdfcd825..3078725872fc 100644 --- a/emulators/cannonball/Makefile +++ b/emulators/cannonball/Makefile @@ -1,42 +1,43 @@ PORTNAME= cannonball -DISTVERSION= 0.32 +DISTVERSION= 0.34 +DISTVERSIONPREFIX=v CATEGORIES= emulators games MAINTAINER= fox@FreeBSD.org COMMENT= Enhanced OutRun Engine LICENSE= MAME-LICENSE LICENSE_NAME= MAME license LICENSE_FILE= ${WRKSRC}/docs/license.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/boost/exception/all.hpp:devel/boost-libs USES= cmake:insource gl pkgconfig sdl USE_SDL= sdl2 USE_GL= gl glu CMAKE_ARGS+= ${WRKSRC}/cmake \ -DTARGET=linux.cmake CFLAGS+= -I${LOCALBASE}/include USE_GITHUB= yes GH_ACCOUNT= djyt BUILD_WRKSRC= ${WRKSRC}/cmake CONFIGURE_WRKSRC= ${WRKSRC}/cmake SUB_FILES= ${PORTNAME}.sh do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/res ${MKDIR} ${STAGEDIR}${DATADIR}/conf ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilemap.bin ${STAGEDIR}${DATADIR}/res/tilemap.bin ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilepatch.bin ${STAGEDIR}${DATADIR}/res/tilepatch.bin ${INSTALL_DATA} ${WRKSRC}/cmake/config.xml ${STAGEDIR}${DATADIR}/conf/config.xml ${INSTALL_MAN} ${WRKSRC}/docs/cannonball.6 ${STAGEDIR}${MAN1PREFIX}/man/man6 ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/cmake/cannonball ${STAGEDIR}${PREFIX}/libexec .include diff --git a/emulators/cannonball/distinfo b/emulators/cannonball/distinfo index d40e78998ca0..6cf664b13330 100644 --- a/emulators/cannonball/distinfo +++ b/emulators/cannonball/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616733810 -SHA256 (djyt-cannonball-0.32_GH0.tar.gz) = 50a4316159f5651a18edc7aa1a8961f944ec4bf8170e8afd6cb231cbc182a7c2 -SIZE (djyt-cannonball-0.32_GH0.tar.gz) = 292602 +TIMESTAMP = 1619529584 +SHA256 (djyt-cannonball-v0.34_GH0.tar.gz) = e2cf8e21619b183a9fd835ae34ce65fb3d014c2fea37723fc8ba05681ed317ce +SIZE (djyt-cannonball-v0.34_GH0.tar.gz) = 326020 diff --git a/emulators/cannonball/files/patch-src_main_sdl2_renderbase.cpp b/emulators/cannonball/files/patch-src_main_sdl2_renderbase.cpp new file mode 100644 index 000000000000..9d2f244e2102 --- /dev/null +++ b/emulators/cannonball/files/patch-src_main_sdl2_renderbase.cpp @@ -0,0 +1,11 @@ +Fixes the error: no member named 'round' in namespace 'std' + +--- src/main/sdl2/renderbase.cpp.orig 2021-04-27 14:23:03 UTC ++++ src/main/sdl2/renderbase.cpp +@@ -1,5 +1,6 @@ + #include "renderbase.hpp" + #include ++#include + + RenderBase::RenderBase() + {