Date: Thu, 17 May 2018 17:05:55 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228319] database/mongodb fails to build on 11.2-BETA1 Message-ID: <bug-228319-7788-HD5t9EwL6U@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228319-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-228319-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228319 --- Comment #1 from mgrooms@shrew.net --- Uggh, sorry. I was trying to fix two broken port builds and I mixed up the = info for the two. Let me try again. Makefile Diff ... --- Makefile.old 2018-05-17 11:52:01.482886000 -0500 +++ Makefile 2018-05-17 12:00:06.856907000 -0500 @@ -38,7 +38,7 @@ OPTIONS_DEFAULT=3DSSL TEST_DESC=3D Add support for running regression test -USES=3D cpe scons +USES=3D cpe compiler scons MAKE_ARGS=3D --prefix=3D${STAGEDIR}${PREFIX} --cc=3D${CC} --cxx=3D${CX= X} \ --use-system-pcre --use-system-snappy --use-system-v8 @@ -72,6 +72,14 @@ ALL_TARGET=3D core tools .endif +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} =3D=3D clang +.if ${COMPILER_VERSION} >=3D 60 +CXXFLAGS+=3D -Wno-undefined-var-template -Wno-unused-private-field -Wno-unused-local-typedef -Wno-undefined-bool-conversion +.endif +.endif + post-patch: @${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \ ${WRKSRC}/SConstruct @@ -82,4 +90,4 @@ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> Source code diff ( not sure how to make that conditional on clang 6.0 ) ... --- src/mongo/util/fail_point_registry.cpp.old 2018-05-17 12:03:41.9631780= 00 -0500 +++ src/mongo/util/fail_point_registry.cpp 2018-05-17 12:03:52.7640140= 00 -0500 @@ -53,7 +53,7 @@ } FailPoint* FailPointRegistry::getFailPoint(const string& name) const { - return mapFindWithDefault(_fpMap, name, reinterpret_cast<FailPoint *>(NULL)); + return mapFindWithDefault(_fpMap, name, static_cast<FailPoint *>(NULL)); } void FailPointRegistry::freeze() { --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228319-7788-HD5t9EwL6U>