Bug 255016 - devel/boost-libs: fix c++20 concept support
Summary: devel/boost-libs: fix c++20 concept support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 19:41 UTC by Dmitry Marakasov
Modified: 2021-04-13 09:23 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
Patch (3.64 KB, patch)
2021-04-12 19:41 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2021-04-12 19:41:52 UTC
Created attachment 224066 [details]
Patch

Untill boost is updated to actual version, backport upstream commit a707db8193b30b6cc4a3d10ee946f7f245e07097 which fixes c++20 concepts support which fixes errors like 


    async_result.hpp: error: concept cannot have associated constraints

This is required for games/wyrmgus update
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-04-13 09:16:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4902f812a6107e7789724a91a3fe04f4545b47b1

commit 4902f812a6107e7789724a91a3fe04f4545b47b1
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-04-13 09:13:50 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2021-04-13 09:13:50 +0000

    devel/boost-libs: backport upstream commit to add support to c++20 concepts

    Until newer boost is ported, this fixes compilation of client code with errors like
        async_result.hpp: error: concept cannot have associated constraints

    See https://github.com/boostorg/asio/issues/312 for details.

    PR:             255016
    Submitted by:   amdmi3
    MFH:            2021Q2

 devel/boost-libs/Makefile                         |  2 +-
 devel/boost-libs/files/patch-c++20-concepts (new) | 69 +++++++++++++++++++++++
 2 files changed, 70 insertions(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-13 09:23:00 UTC
A commit in branch 2021Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43280b4cc9c9f99c6697ffe9bbbacd069e1cb912

commit 43280b4cc9c9f99c6697ffe9bbbacd069e1cb912
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-04-13 09:13:50 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2021-04-13 09:22:02 +0000

    devel/boost-libs: backport upstream commit to add support to c++20 concepts

    Until newer boost is ported, this fixes compilation of client code with errors like
        async_result.hpp: error: concept cannot have associated constraints

    See https://github.com/boostorg/asio/issues/312 for details.

    PR:             255016
    Submitted by:   amdmi3
    MFH:            2021Q2

    (cherry picked from commit 4902f812a6107e7789724a91a3fe04f4545b47b1)

 devel/boost-libs/Makefile                         |  2 +-
 devel/boost-libs/files/patch-c++20-concepts (new) | 69 +++++++++++++++++++++++
 2 files changed, 70 insertions(+), 1 deletion(-)
Comment 3 Dima Panov freebsd_committer freebsd_triage 2021-04-13 09:23:19 UTC
Committed, thanks!