diff --git a/games/glob2/Makefile b/games/glob2/Makefile index d04d8d5071b3..840ef78acd48 100644 --- a/games/glob2/Makefile +++ b/games/glob2/Makefile @@ -1,45 +1,43 @@ PORTNAME= glob2 PORTVERSION= 0.9.5.0.g20240607 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= makc@FreeBSD.org COMMENT= Globulation 2, real-time strategy game WWW= https://globulation2.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= fails to build with boost-1.85 - LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libportaudio.so:audio/portaudio \ libspeex.so:audio/speex \ libfribidi.so:converters/fribidi \ libboost_thread.so:devel/boost-libs USES= compiler:c++14-lang gl localbase:ldflags pkgconfig scons sdl USE_SDL= image2 net2 sdl2 ttf2 USE_GL= gl glu USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= Globulation2 GH_TAGNAME= bf277676 MAKE_ARGS= CCFLAGS="${CFLAGS}" \ LINKFLAGS="${LDFLAGS}" \ BINDIR="${STAGEDIR}${PREFIX}/bin" \ INSTALLDIR="${STAGEDIR}${PREFIX}/share" \ DATADIR="${DATADIR}" \ --portaudio=true post-patch: ${REINPLACE_CMD} '/addDir(PACKAGE_SOURCE_DIR)/d' \ ${WRKSRC}/libgag/src/FileManager.cpp post-install: # workaround broken install: *.txt are required for game to run ${INSTALL_DATA} ${WRKSRC}/data/*.txt ${STAGEDIR}${DATADIR}/data/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/glob2 .include diff --git a/games/glob2/files/patch-libusl_src_native.h b/games/glob2/files/patch-libusl_src_native.h new file mode 100644 index 000000000000..af83767f6a65 --- /dev/null +++ b/games/glob2/files/patch-libusl_src_native.h @@ -0,0 +1,11 @@ +--- libusl/src/native.h.orig 2024-06-07 07:47:17 UTC ++++ libusl/src/native.h +@@ -42,7 +42,7 @@ struct NativeValuePrototype: Prototype (private) + template + void addMethod(const std::string& name, const boost::function& function) + { +- BOOST_MPL_ASSERT(( boost::is_same::arg1_type> )); ++ BOOST_MPL_ASSERT(( boost::is_same::arg1_type> )); + NativeCode* native = new NativeFunction(name, function, true); + Prototype::addMethod(native); + }