From nobody Thu May 18 21:37:39 2023 X-Original-To: office@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 4QMjxb6x55z4C3Pg for ; Thu, 18 May 2023 21:37:39 +0000 (UTC) (envelope-from bugzilla-noreply@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 4QMjxb51GRz416V for ; Thu, 18 May 2023 21:37:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684445859; 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: in-reply-to:in-reply-to:references:references; bh=vPzMDKKOS8BslxfMQg40P2kLMzXFwv4vZFUjfjBj9IM=; b=UiR2BQU7u63eFdgQXHksJBz1w5B0AZn7BPZ+0khbGcw31K8JSSCTrBCUXwLcqdveroC0h6 8uxyH5a1z4nMILoQNtCPyKxvOChFCZnvZno1hfq0kg7D0+jnBOMScaCKVCUHwiOUXLxdbb i2g1kBEKqREgEqy8WHHoczrzC33/Esw/GM3U08e3+8iPSaDeN17MQSJepneeR7xg8cUxsP HOdDvONkgD8EhhCxokKyfudpFOcgCV2t4ChE2dyoXwJQi9GNFv+/EgiO5l4nX8vUJQX1+p hLPPejPKCDnTD6G+NAcYxL+gEWRh/ncu1hQsxvcN0yAnVGY5HT3VT7d/DkVVbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684445859; a=rsa-sha256; cv=none; b=XVgjrVIyCxHw4h2yXQgpMlFdxqJv9cXl4Cl3f7Gc/1jJ6jRy6niFkQY46bWDCXdAR6Qx12 lNpCc0Q6c7uCD3Pu2cD88ftMB/jgOi2RFbvTFLeXuRjyKA6+0bgCXWiBrOYLCL0XaggLrM wCbOsj6dTjdIf50nFL5gghz8BSMZMBz43BCa0S07l05na3+FUSeufYPbiodKw7SkC2RJcp XpjHAhReEEzrbNbeCPnZf2QmHNYSvQTMGGl9zSh7rPHBJ16RC6AmdsYRMQa4l7MOd49/DH /GnYS/Xf2rv6P2tSceP36/2ntk+HprxiqUJP7S32ipyCfkAM+GaW+HzjXek25g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4QMjxb47QFz11yx for ; Thu, 18 May 2023 21:37:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34ILbdt6036195 for ; Thu, 18 May 2023 21:37:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34ILbdqb036194 for office@FreeBSD.org; Thu, 18 May 2023 21:37:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 271488] devel/boost-libs: apply upstream patch for C++17 support Date: Thu, 18 May 2023 21:37:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271488 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dc035007f958a9fa3c45bb1441a63540= be39018ed commit c035007f958a9fa3c45bb1441a63540be39018ed Author: Dimitry Andric AuthorDate: 2023-05-18 13:10:20 +0000 Commit: Dimitry Andric CommitDate: 2023-05-18 21:33:57 +0000 devel/boost-libs: apply upstream patch for C++17 support Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Several ports that use boost/functional.hpp now complain with (for example print/libmspub01): In file included from MSPUBCollector.cpp:17: In file included from /usr/local/include/boost/multi_array.hpp:34: In file included from /usr/local/include/boost/multi_array/multi_array_ref.hpp:32: /usr/local/include/boost/functional.hpp:45:24: error: no member named 'unary_function' in namespace 'std'; did you mean '__unary_function'? using std::unary_function; ~~~~~^~~~~~~~~~~~~~ __unary_function /usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here using __unary_function =3D __unary_function_keep_layout_base<_Arg, _Result>; ^ In file included from MSPUBCollector.cpp:17: In file included from /usr/local/include/boost/multi_array.hpp:34: In file included from /usr/local/include/boost/multi_array/multi_array_ref.hpp:32: /usr/local/include/boost/functional.hpp:46:24: error: no member named 'binary_function' in namespace 'std'; did you mean '__binary_function'? using std::binary_function; ~~~~~^~~~~~~~~~~~~~~ __binary_function /usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here using __binary_function =3D __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>; ^ This is because std::unary_function and std::binary_function were removed from C++17. Upstream boost/functional fixed this in https://github.com/boostorg/functional/commit/6a573e4, so apply that patch until boost 1.83.0 is released with it. PR: 271488 Approved by: fluffy (maintainer) MFH: 2023Q2 devel/boost-libs/Makefile | 2 +- .../files/patch-boost_functional.hpp (new) | 28 ++++++++++++++++++= ++++ 2 files changed, 29 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=