diff options
author | adam <adam@pkgsrc.org> | 2020-04-11 13:39:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-11 13:39:29 +0000 |
commit | d94d94f64776a5750e9ceed247e61960d5d6cfd5 (patch) | |
tree | ec31e3f9c0b05ec45c075a27ae4722e87eaa6138 | |
parent | 1553ce6fc913432fdc87e8d6b0e1619353547076 (diff) | |
download | pkgsrc-d94d94f64776a5750e9ceed247e61960d5d6cfd5.tar.gz |
msgpack: updated to 3.2.1
version 3.2.1
* Fix snprintf return value checking
* Remove some warnings
* Fix fbuffer result checking
* Fix temporary object handling
* Improve cmake support
* Fix invalid `int main` parameter
* Improve supporting platform
* Fix ZLIB error handling
* Remove unused variable
* Improve integer overflow checking
version 3.2.0
* Fix invalid include
* Add timespec support
* Fix unchecked fnprintf on C
* Improve integer overflow checking on C
* Fix warnings on `-Wconversion`
* Fix invalid passed by value on aligned_zone_size_visitor
* Improve windows support
* Fix msgpack::object size caluclation error
* Fix memory error on example code
* Fix redundant memory allocation on C
* Fix msgpack::type::tuple base class conversion
-rw-r--r-- | devel/msgpack/Makefile | 9 | ||||
-rw-r--r-- | devel/msgpack/PLIST | 6 | ||||
-rw-r--r-- | devel/msgpack/distinfo | 12 | ||||
-rw-r--r-- | devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h | 8 |
4 files changed, 21 insertions, 14 deletions
diff --git a/devel/msgpack/Makefile b/devel/msgpack/Makefile index 33bd134da95..2dde205e0d8 100644 --- a/devel/msgpack/Makefile +++ b/devel/msgpack/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2018/09/10 10:24:18 adam Exp $ +# $NetBSD: Makefile,v 1.17 2020/04/11 13:39:29 adam Exp $ -DISTNAME= msgpack-3.1.1 +DISTNAME= msgpack-3.2.1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=msgpack/} GITHUB_RELEASE= cpp-${PKGVERSION_NOREV} @@ -12,10 +12,13 @@ COMMENT= Binary-based efficient object serialization library LICENSE= boost-license USE_CMAKE= yes -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++11 PKGCONFIG_OVERRIDE= msgpack.pc.in +TEST_ENV= LD_LIBRARY_PATH=${WRKSRC} TEST_TARGET= test +CMAKE_ARGS+= -DMSGPACK_CXX11=ON + .include "../../devel/googletest/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/msgpack/PLIST b/devel/msgpack/PLIST index 8ee0386c60a..02916c6941d 100644 --- a/devel/msgpack/PLIST +++ b/devel/msgpack/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2018/09/10 10:24:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.8 2020/04/11 13:39:29 adam Exp $ include/msgpack.h include/msgpack.hpp include/msgpack/adaptor/adaptor_base.hpp @@ -23,6 +23,7 @@ include/msgpack/adaptor/cpp11/chrono.hpp include/msgpack/adaptor/cpp11/forward_list.hpp include/msgpack/adaptor/cpp11/reference_wrapper.hpp include/msgpack/adaptor/cpp11/shared_ptr.hpp +include/msgpack/adaptor/cpp11/timespec.hpp include/msgpack/adaptor/cpp11/tuple.hpp include/msgpack/adaptor/cpp11/unique_ptr.hpp include/msgpack/adaptor/cpp11/unordered_map.hpp @@ -64,6 +65,7 @@ include/msgpack/adaptor/vector.hpp include/msgpack/adaptor/vector_bool.hpp include/msgpack/adaptor/vector_char.hpp include/msgpack/adaptor/vector_unsigned_char.hpp +include/msgpack/adaptor/wstring.hpp include/msgpack/cpp_config.hpp include/msgpack/cpp_config_decl.hpp include/msgpack/create_object_visitor.hpp @@ -536,6 +538,7 @@ include/msgpack/v1/adaptor/cpp11/chrono.hpp include/msgpack/v1/adaptor/cpp11/forward_list.hpp include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp +include/msgpack/v1/adaptor/cpp11/timespec.hpp include/msgpack/v1/adaptor/cpp11/tuple.hpp include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp include/msgpack/v1/adaptor/cpp11/unordered_map.hpp @@ -590,6 +593,7 @@ include/msgpack/v1/adaptor/vector.hpp include/msgpack/v1/adaptor/vector_bool.hpp include/msgpack/v1/adaptor/vector_char.hpp include/msgpack/v1/adaptor/vector_unsigned_char.hpp +include/msgpack/v1/adaptor/wstring.hpp include/msgpack/v1/cpp_config.hpp include/msgpack/v1/cpp_config_decl.hpp include/msgpack/v1/detail/cpp03_zone.hpp diff --git a/devel/msgpack/distinfo b/devel/msgpack/distinfo index 1e57ea2336e..6cac53c5ee9 100644 --- a/devel/msgpack/distinfo +++ b/devel/msgpack/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.12 2018/09/10 10:24:18 adam Exp $ +$NetBSD: distinfo,v 1.13 2020/04/11 13:39:29 adam Exp $ -SHA1 (msgpack-3.1.1.tar.gz) = 004fc1465e7b6f962b947f70d120ea13c9b425e0 -RMD160 (msgpack-3.1.1.tar.gz) = c09d2974785c4ceb449536a15d60946c22348a77 -SHA512 (msgpack-3.1.1.tar.gz) = cc634ef38b3844bf994159024441fe72d99055c42b0a4d81245b0629fd1f3147587eb36537cfb85e4cae2edc1dc23d7fa400022efa5a10dca295f9a6acd38346 -Size (msgpack-3.1.1.tar.gz) = 495858 bytes +SHA1 (msgpack-3.2.1.tar.gz) = e7e38025198148dfb69ef7ddc776dc046ac77717 +RMD160 (msgpack-3.2.1.tar.gz) = 83e0ca6f2d1b76c436a88a5366b7fb8e0f582edc +SHA512 (msgpack-3.2.1.tar.gz) = 68d06b05a1f00a3d9d7d39313a9e11f42828606c39d9d4c07673a48c9b88028a6316f2a964881cc8e4d185616a037711f02a7d3cd6029eadbacf52145603538b +Size (msgpack-3.2.1.tar.gz) = 1234733 bytes SHA1 (patch-include_msgpack_v1_vrefbuffer.hpp) = 339ce944dacff1416e27b4c570d5d4c22cf99d28 -SHA1 (patch-include_msgpack_vrefbuffer.h) = 349aa6df98b27a845be9ceea0ef33f051955ed91 +SHA1 (patch-include_msgpack_vrefbuffer.h) = 566782b87492c4b96e3e3c80d14a9f37ebcb9451 diff --git a/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h b/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h index efcc939cdd1..86c671b9627 100644 --- a/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h +++ b/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h @@ -1,15 +1,15 @@ -$NetBSD: patch-include_msgpack_vrefbuffer.h,v 1.2 2018/06/01 07:55:43 adam Exp $ +$NetBSD: patch-include_msgpack_vrefbuffer.h,v 1.3 2020/04/11 13:39:29 adam Exp $ FreeBSD fix. ---- include/msgpack/vrefbuffer.h.orig 2018-04-09 13:56:00.000000000 +0000 +--- include/msgpack/vrefbuffer.h.orig 2019-12-10 03:33:32.000000000 +0000 +++ include/msgpack/vrefbuffer.h @@ -13,7 +13,7 @@ #include "zone.h" #include <stdlib.h> --#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) -+#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) || defined(__FreeBSD__) +-#if defined(unix) || defined(__unix) || defined(__linux__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) || defined(__HAIKU__) ++#if defined(unix) || defined(__unix) || defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) || defined(__HAIKU__) #include <sys/uio.h> #else struct iovec { |