diff options
author | Ed Schouten <ed@FreeBSD.org> | 2017-06-22 20:37:35 +0800 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2017-06-22 20:37:35 +0800 |
commit | bd4875a6bbbe21e7c36cdcdf5184783296da87f7 (patch) | |
tree | 383c0e85aa1569b57d5f04ef49173a4137a6dd6b /devel | |
parent | 430a5c45d9b89a06f763aaa30dff4018873a2b8a (diff) | |
download | freebsd-ports-gnome-bd4875a6bbbe21e7c36cdcdf5184783296da87f7.tar.gz freebsd-ports-gnome-bd4875a6bbbe21e7c36cdcdf5184783296da87f7.tar.zst freebsd-ports-gnome-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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/argdata/Makefile | 3 | ||||
-rw-r--r-- | devel/argdata/distinfo | 6 | ||||
-rw-r--r-- | devel/argdata/files/patch-max_align_t | 15 |
3 files changed, 19 insertions, 5 deletions
diff --git a/devel/argdata/Makefile b/devel/argdata/Makefile index 6b838df8bde0..7d1f27f53081 100644 --- a/devel/argdata/Makefile +++ b/devel/argdata/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= argdata -PORTVERSION= 0.2 -PORTREVISION= 1 +PORTVERSION= 0.4 DISTVERSIONPREFIX=v CATEGORIES= devel diff --git a/devel/argdata/distinfo b/devel/argdata/distinfo index b4f32df75f9c..1a9ca30ae6ea 100644 --- a/devel/argdata/distinfo +++ b/devel/argdata/distinfo @@ -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 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; |