From bd4875a6bbbe21e7c36cdcdf5184783296da87f7 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Thu, 22 Jun 2017 12:37:35 +0000 Subject: Upgrade argdata and cloudabi-utils to the latest upstream versions. Version 0.3 of argdata includes an all new reader/writer API that allows you to stream argdata objects into files, pipes and sockets. Version 0.4 reworks the iterator API to make it easier/safer to duplicate iterators. Version 0.4 of argdata now depends on max_align_t. This type definition is not available on older versions of FreeBSD. Add a local patch to use a locally defined structure instead. This patch can be removed once we only support versions that do provide this type. Version 0.25 of cloudabi-utils catches up with the argdata iterator API changes. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D11300 --- devel/argdata/files/patch-max_align_t | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/argdata/files/patch-max_align_t (limited to 'devel/argdata/files/patch-max_align_t') diff --git a/devel/argdata/files/patch-max_align_t b/devel/argdata/files/patch-max_align_t new file mode 100644 index 000000000000..a892a3f95b27 --- /dev/null +++ b/devel/argdata/files/patch-max_align_t @@ -0,0 +1,15 @@ +--- src/argdata.h ++++ src/argdata.h +@@ -34,7 +34,11 @@ + #define ARGDATA_MAX_ALIGN __declspec(align(8)) + #else + #include +-#define ARGDATA_MAX_ALIGN alignas(max_align_t) ++struct argdata_max_align { ++ long long a; ++ long double b; ++}; ++#define ARGDATA_MAX_ALIGN alignas(struct argdata_max_align) + #endif + + struct timespec; -- cgit v1.2.3