aboutsummaryrefslogtreecommitdiff
path: root/devel/argdata/files
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2017-06-22 12:37:35 +0000
committerEd Schouten <ed@FreeBSD.org>2017-06-22 12:37:35 +0000
commitbd4875a6bbbe21e7c36cdcdf5184783296da87f7 (patch)
tree383c0e85aa1569b57d5f04ef49173a4137a6dd6b /devel/argdata/files
parent430a5c45d9b89a06f763aaa30dff4018873a2b8a (diff)
downloadports-bd4875a6bbbe21e7c36cdcdf5184783296da87f7.tar.gz
ports-bd4875a6bbbe21e7c36cdcdf5184783296da87f7.zip
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
Notes
Notes: svn path=/head/; revision=444111
Diffstat (limited to 'devel/argdata/files')
-rw-r--r--devel/argdata/files/patch-max_align_t15
1 files changed, 15 insertions, 0 deletions
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 <stdalign.h>
+-#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;