git: 2bab44dac970 - main - graphics/qt5-imageformats: prepare for graphics/jsaper update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Mar 2022 19:35:09 UTC
The branch main has been updated by tcberner: 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/graphics/qt5-imageformats/files/patch-src_imageformats_configure.json b/graphics/qt5-imageformats/files/patch-src_imageformats_configure.json new file mode 100644 index 000000000000..d88962cfe129 --- /dev/null +++ b/graphics/qt5-imageformats/files/patch-src_imageformats_configure.json @@ -0,0 +1,10 @@ +--- src/imageformats/configure.json.orig 2022-03-02 19:21:52 UTC ++++ src/imageformats/configure.json +@@ -19,6 +19,7 @@ + "headers": "jasper/jasper.h", + "test": { + "include": [ ++ "cstddef", + "string.h", + "jasper/jasper.h" + ],