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
This commit is contained in:
Ed Schouten 2017-06-22 12:37:35 +00:00
parent 430a5c45d9
commit bd4875a6bb
5 changed files with 23 additions and 10 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= argdata
PORTVERSION= 0.2
PORTREVISION= 1
PORTVERSION= 0.4
DISTVERSIONPREFIX=v
CATEGORIES= devel

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1488282593
SHA256 (NuxiNL-argdata-v0.2_GH0.tar.gz) = bfc97e8a8a0d34909f2627e80013f2c3da2492e7b86060636a5d46731c12aee0
SIZE (NuxiNL-argdata-v0.2_GH0.tar.gz) = 18667
TIMESTAMP = 1498107145
SHA256 (NuxiNL-argdata-v0.4_GH0.tar.gz) = 8f7afec1c3d832cd559865a8125d47edf70b4368d2e97f79bc36473090378fae
SIZE (NuxiNL-argdata-v0.4_GH0.tar.gz) = 26446

View file

@ -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;

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= cloudabi-utils
PORTVERSION= 0.24
PORTREVISION= 1
PORTVERSION= 0.25
DISTVERSIONPREFIX=v
CATEGORIES= sysutils

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1490344135
SHA256 (NuxiNL-cloudabi-utils-v0.24_GH0.tar.gz) = c98bc812969de1a4b56bd4155fe93669bb0273d729b5ab97779ee6c0b06fd742
SIZE (NuxiNL-cloudabi-utils-v0.24_GH0.tar.gz) = 227885
TIMESTAMP = 1498107271
SHA256 (NuxiNL-cloudabi-utils-v0.25_GH0.tar.gz) = 213f545ae4d899fa2387137ad45074f8ca15b08e5d5996d54ad61c1ab9474878
SIZE (NuxiNL-cloudabi-utils-v0.25_GH0.tar.gz) = 227867