Bug 255016

Summary: devel/boost-libs: fix c++20 concept support
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dima Panov <fluffy>
Status: Closed FIXED    
Severity: Affects Some People CC: fluffy
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

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!