Date: Thu, 31 Oct 2024 14:23:20 GMT From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e0a38371e522 - main - games/glob2: fix build with boost-1.85 Message-ID: <202410311423.49VENKHu085946@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0a38371e522dbed3341bf8ff8732ae416c80b26 commit e0a38371e522dbed3341bf8ff8732ae416c80b26 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-10-31 14:22:39 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-10-31 14:22:39 +0000 games/glob2: fix build with boost-1.85 --- games/glob2/Makefile | 4 +--- games/glob2/files/patch-libusl_src_native.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/games/glob2/Makefile b/games/glob2/Makefile index d04d8d5071b3..840ef78acd48 100644 --- a/games/glob2/Makefile +++ b/games/glob2/Makefile @@ -1,6 +1,6 @@ PORTNAME= glob2 PORTVERSION= 0.9.5.0.g20240607 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= makc@FreeBSD.org @@ -10,8 +10,6 @@ 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 \ 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<typename Function> + void addMethod(const std::string& name, const boost::function<Function>& function) + { +- BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> )); ++ BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function_traits<Function>::arg1_type> )); + NativeCode* native = new NativeFunction<Function>(name, function, true); + Prototype::addMethod(native); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410311423.49VENKHu085946>