From nobody Sun Jul 02 19:02:20 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QvJMc6jvSz4lbYs; Sun, 2 Jul 2023 19:02:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QvJMc5mylz4PtW; Sun, 2 Jul 2023 19:02:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688324540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/td4AojqqBGtcyipCdWk+NS6X3E8ocj1AmfLvJsUcEc=; b=Z+77smOgdBZa3OfcMZB+t6p2OlRbmNwf0B4H0ovRXY6QqE5lcmy0OnpGCvXPkrZYEg/a9C n0rEpvi9IUvK9cHky4fhkCG3WaYEiRbIGgEMwHjPgcCZXz5X57VSNOnQGjzzPQaBPl5FtT r/b88wUZmmnzaW/kBBosAYIFmBQAjj8b7tvJ2S73YTXukkK1bQf0Eb7BjVeIeNHJbRxg+3 ouMwld1ldWA4dEbeagoO6q+4UdeSFpp1qUjX4fLf5LLxIx+k9lyylfR0X90u9ic31puiqL h4knd6KrlCZ73uFSP91UEe8NnGgXs2/auifJ8hi+oXbiX3MO1LODfj2XYUY7xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688324540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/td4AojqqBGtcyipCdWk+NS6X3E8ocj1AmfLvJsUcEc=; b=EssnyonjUjm32i3hxqoh1T3DRHKSxJUwrk6uXvfxS8zn6avDMzg1JKK7/Xg3Ysf+MD+0Dv l8isNCuL56iiAqGGneL1n/CPv1U6bu8ETIo6iHYuqFGxpM0Mrd3i0cU6lGy+sFmP+ZAGL5 5kgkW64XcNoSFYSsRM/uBuQMZfvGT3UXWfj1OQnON9yusaO/LC7Ctp6xdEWUNNOF7R0yNT EnzQfZkAvGKQPeP40IEueWuD6oGChegrtNe7/fQ+H9doHqhKmfCL51ibfq4fQK0n3MfXf3 ia0l6e7K6CHmlv818FZnNa+sLX6wSsMJ/grEMszLFOIr2ljhm6Tl+1ZdvI21aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688324540; a=rsa-sha256; cv=none; b=jdUSHRs23/lrcH6ywJEIUmSErHiGYQxzo3zPIcM3DOVRv8aS3w6ztNpEseDt8S+UtIeSs9 hbWe4IZ4erv5pEBcOec2fMvHtESPIj65nXzw3URLdVbTgosQrx+OemGWKt5K9UqQHGP52j SIRAxwAm8cA/J//TrLlV2Y28OM2wfPiMVQrQ/hZLChBlDydtFRpMKJSQT1VJJ6VL7ojbmK IgRjP5BKcBm3UWFg0QNV804d9RXB8xKN3qLGyC+KEMPKCoNBjLgji8OqNyZ9m6ltZLdDGT Fjq+6vV7PwRDQwp9m4SbooJAUvyBqXPZaD0mImYGFkbUeg9r7V8qn1R5GQ2zHg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QvJMc4m2BzKhh; Sun, 2 Jul 2023 19:02:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 362J2K4m017360; Sun, 2 Jul 2023 19:02:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 362J2KgL017359; Sun, 2 Jul 2023 19:02:20 GMT (envelope-from git) Date: Sun, 2 Jul 2023 19:02:20 GMT Message-Id: <202307021902.362J2KgL017359@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ronald Klop Subject: git: d37d34120475 - main - databases/mongodb60: fix build with llvm16/clang16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ronald X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d37d341204750f739aed02cae45fe3104272192c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=d37d341204750f739aed02cae45fe3104272192c commit d37d341204750f739aed02cae45fe3104272192c Author: Ronald Klop AuthorDate: 2023-07-02 18:57:07 +0000 Commit: Ronald Klop CommitDate: 2023-07-02 18:58:50 +0000 databases/mongodb60: fix build with llvm16/clang16 * BOOST_NO_CXX98_FUNCTION_BASE fixes: In file included from src/third_party/boost/boost/functional/hash.hpp:6: src/third_party/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? struct hash_base : std::unary_function {}; ~~~~~^~~~~~~~~~~~~~ __unary_function /usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; ^ * And "#if 1" fixes: In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32: src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'lock_access_mode' [-Wenum-constexpr-conversion] typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior; PR: 272295 --- databases/mongodb60/Makefile | 2 ++ ...c_third__party_boost_boost_mpl_aux___integral__wrapper.hpp | 11 +++++++++++ databases/mongodb60/pkg-message | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile index 7d0b40fb3aff..793bfc4951aa 100644 --- a/databases/mongodb60/Makefile +++ b/databases/mongodb60/Makefile @@ -47,6 +47,8 @@ GH_PROJECT= mongo spidermonkey:mozjs GH_TAGNAME= ${MOZJS_TAG}:mozjs USE_RC_SUBR= mongod +CFLAGS+= -DBOOST_NO_CXX98_FUNCTION_BASE + SHEBANG_FILES= buildscripts/scons.py python_OLD_CMD= @python_interpreter@ diff --git a/databases/mongodb60/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp b/databases/mongodb60/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp new file mode 100644 index 000000000000..a45dcb0f2340 --- /dev/null +++ b/databases/mongodb60/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp @@ -0,0 +1,11 @@ +--- src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp.orig 2023-06-30 20:32:00 UTC ++++ src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp +@@ -56,7 +56,7 @@ struct AUX_WRAPPER_NAME + // have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC), + // while some other don't like 'value + 1' (Borland), and some don't like + // either +-#if BOOST_WORKAROUND(__EDG_VERSION__, <= 243) ++#if 1 //BOOST_WORKAROUND(__EDG_VERSION__, <= 243) + private: + BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, next_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N + 1))); + BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1))); diff --git a/databases/mongodb60/pkg-message b/databases/mongodb60/pkg-message new file mode 100644 index 000000000000..43e45ca6a35a --- /dev/null +++ b/databases/mongodb60/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <