[Bug 262039] graphics/jasper: Update to 3.0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Mar 2022 19:35:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262039

--- Comment #16 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=2bab44dac97077cf7c47078bc3b41681b19bf9a9

commit 2bab44dac97077cf7c47078bc3b41681b19bf9a9
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-03-02 19:27:33 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-03-02 19:34:57 +0000

    graphics/qt5-imageformats: prepare for graphics/jsaper update

    The build fails on FreeBSD 12.3 due to undefined max_align_t:

            In file included from test.cc:2:
            In file included from /usr/local/include/jasper/jasper.h:78:
            In file included from /usr/local/include/jasper/jas_init.h:73:
            In file included from /usr/local/include/jasper/jas_malloc.h:81:
            In file included from /usr/local/include/jasper/jas_thread.h:84:
            In file included from /usr/include/c++/v1/stdlib.h:100:
            In file included from /usr/include/c++/v1/math.h:311:
            In file included from /usr/include/c++/v1/type_traits:417:
            /usr/include/c++/v1/cstddef:55:9: error: expected unqualified-id
            using ::max_align_t;
                    ^

    Include cstddef to make it available.

    PR:             262039

 .../files/patch-src_imageformats_configure.json (new)          | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.