Date: Mon, 11 Nov 2019 19:00:38 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517281 - head/databases/mongodb36/files Message-ID: <201911111900.xABJ0c49048241@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Mon Nov 11 19:00:37 2019 New Revision: 517281 URL: https://svnweb.freebsd.org/changeset/ports/517281 Log: databases/mongodb36: fails to build w/ llvm9 PR: 241709 Submitted by: kevans Approved by: dev@dudu.ro (maintainer) Added: head/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h (contents, props changed) Added: head/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h Mon Nov 11 19:00:37 2019 (r517281) @@ -0,0 +1,11 @@ +--- src/mongo/base/error_codes.tpl.h.orig 2019-08-13 23:47:34 UTC ++++ src/mongo/base/error_codes.tpl.h +@@ -118,7 +118,7 @@ template <int32_t code> + constexpr bool isNamedCode = false; + //#for $ec in $codes + template <> +-constexpr bool isNamedCode<ErrorCodes::$ec.name> = true; ++constexpr inline bool isNamedCode<ErrorCodes::$ec.name> = true; + //#end for + + MONGO_COMPILER_NORETURN void throwExceptionForStatus(const Status& status);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911111900.xABJ0c49048241>