Date: Wed, 10 Apr 2024 13:19:12 GMT From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f0a4c1f73b3b - main - audio/mumble-server: fix build on i386 Message-ID: <202404101319.43ADJCb4088804@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0a4c1f73b3bbdb738019d9b476e027a3ba160a8 commit f0a4c1f73b3bbdb738019d9b476e027a3ba160a8 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-04-10 13:17:03 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-04-10 13:17:03 +0000 audio/mumble-server: fix build on i386 /wrkdirs/usr/ports/audio/mumble-server/work/mumble-1.5.613/src/murmur/Server.cpp:1044:21: error: implicit conversion changes signedness: 'int' to 'std::vector<char>::size_type' (aka 'unsigned int') [-Werror,-Wsign-conversion] bufVec.resize(len + 4); ~~~~~~ ~~~~^~~ 1 error generated. Upstream issue: https://github.com/mumble-voip/mumble/issues/6377 Reported by: pkg-fallout Approved by: arrowd (mentor, implicit) MFH: 2024Q2 --- audio/mumble-server/files/patch-src_murmur_Server.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audio/mumble-server/files/patch-src_murmur_Server.cpp b/audio/mumble-server/files/patch-src_murmur_Server.cpp new file mode 100644 index 000000000000..b5f4a66b56fb --- /dev/null +++ b/audio/mumble-server/files/patch-src_murmur_Server.cpp @@ -0,0 +1,11 @@ +--- src/murmur/Server.cpp.orig 2024-03-03 17:26:27 UTC ++++ src/murmur/Server.cpp +@@ -1041,7 +1041,7 @@ void Server::sendMessage(ServerUser &u, const unsigned + ((reinterpret_cast< quint64 >(ebuffer.data()) + 8) & static_cast< quint64 >(~7)) + 4); + #else + std::vector< char > bufVec; +- bufVec.resize(len + 4); ++ bufVec.resize(static_cast< std::size_t >(len + 4)); + char *buffer = bufVec.data(); + #endif + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404101319.43ADJCb4088804>