pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/msgpack msgpack: updated to 3.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ea8b2b3e2bd
branches:  trunk
changeset: 427091:5ea8b2b3e2bd
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 11 13:39:29 2020 +0000

description:
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

diffstat:

 devel/msgpack/Makefile                                   |   9 ++++++---
 devel/msgpack/PLIST                                      |   6 +++++-
 devel/msgpack/distinfo                                   |  12 ++++++------
 devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h |   8 ++++----
 4 files changed, 21 insertions(+), 14 deletions(-)

diffs (109 lines):

diff -r 36a897fc814e -r 5ea8b2b3e2bd devel/msgpack/Makefile
--- a/devel/msgpack/Makefile    Sat Apr 11 12:47:45 2020 +0000
+++ b/devel/msgpack/Makefile    Sat Apr 11 13:39:29 2020 +0000
@@ -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 @@
 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 -r 36a897fc814e -r 5ea8b2b3e2bd devel/msgpack/PLIST
--- a/devel/msgpack/PLIST       Sat Apr 11 12:47:45 2020 +0000
+++ b/devel/msgpack/PLIST       Sat Apr 11 13:39:29 2020 +0000
@@ -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/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_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/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_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 -r 36a897fc814e -r 5ea8b2b3e2bd devel/msgpack/distinfo
--- a/devel/msgpack/distinfo    Sat Apr 11 12:47:45 2020 +0000
+++ b/devel/msgpack/distinfo    Sat Apr 11 13:39:29 2020 +0000
@@ -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 -r 36a897fc814e -r 5ea8b2b3e2bd devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h
--- a/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h  Sat Apr 11 12:47:45 2020 +0000
+++ b/devel/msgpack/patches/patch-include_msgpack_vrefbuffer.h  Sat Apr 11 13:39:29 2020 +0000
@@ -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 {



Home | Main Index | Thread Index | Old Index