mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
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💯
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
10 lines
339 B
JSON
10 lines
339 B
JSON
--- 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"
|
|
],
|