diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2022-03-02 19:27:33 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2022-03-02 19:34:57 +0000 |
commit | 2bab44dac97077cf7c47078bc3b41681b19bf9a9 (patch) | |
tree | 2f2f7af5f3ba044ce253b727f36dafcdcd02395b | |
parent | ebbccfc73c27e29ee6c66d34494b6c2c6be37c82 (diff) | |
download | ports-2bab44dac97077cf7c47078bc3b41681b19bf9a9.tar.gz ports-2bab44dac97077cf7c47078bc3b41681b19bf9a9.zip |
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
-rw-r--r-- | graphics/qt5-imageformats/files/patch-src_imageformats_configure.json | 10 |
1 files changed, 10 insertions, 0 deletions
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" + ], |