commit: 1f322a78344d413f69acb7b6896b03dbfc9715af
parent 61bde591f57be7f7f5f115010a943532501bd8ff
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 22 Sep 2020 20:05:12 -0700
libcbor: Update to 0.8.0
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pkg/libcbor/cbor_export.h b/pkg/libcbor/cbor_export.h
@@ -0,0 +1 @@
+#define CBOR_EXPORT
diff --git a/pkg/libcbor/gen.lua b/pkg/libcbor/gen.lua
@@ -7,7 +7,7 @@ cflags{
build('sed', '$outdir/include/cbor/configuration.h', '$srcdir/src/cbor/configuration.h.in', {
expr={
[[-e 's,$${CBOR_VERSION_MAJOR},0,']],
- [[-e 's,$${CBOR_VERSION_MINOR},7,']],
+ [[-e 's,$${CBOR_VERSION_MINOR},8,']],
[[-e 's,$${CBOR_VERSION_PATCH},0,']],
[[-e 's,$${CBOR_BUFFER_GROWTH},2,']],
[[-e 's,$${CBOR_MAX_STACK_SIZE},2048,']],
@@ -35,6 +35,7 @@ pkg.hdrs = {
'cbor/strings.h',
'cbor/tags.h',
}),
+ copy('$outdir/include/cbor', '$dir', {'cbor_export.h'}),
'$outdir/include/cbor/configuration.h',
}
pkg.deps = {'$gendir/headers'}
diff --git a/pkg/libcbor/ver b/pkg/libcbor/ver
@@ -1 +1 @@
-0.7.0 r0
+0.8.0 r0