NetBSD Problem Report #51083

From www@NetBSD.org  Thu Apr 21 20:40:17 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0BF497A3D7
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 21 Apr 2016 20:40:17 +0000 (UTC)
Message-Id: <20160421204014.DA99A7AA96@mollari.NetBSD.org>
Date: Thu, 21 Apr 2016 20:40:14 +0000 (UTC)
From: jonthn+pkgsrc@pinacea.com
Reply-To: jonthn+pkgsrc@pinacea.com
To: gnats-bugs@NetBSD.org
Subject: Update devel/msgpack to 1.4.1
X-Send-Pr-Version: www-1.0

>Number:         51083
>Category:       pkg
>Synopsis:       Update devel/msgpack to 1.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 21 20:45:00 +0000 2016
>Originator:     Jonathan Buschmann
>Release:        
>Organization:
>Environment:
>Description:
Currently devel/msgpack is still at the version 0.5.9, but 1.x version is already available.

You'll find a patch to make the necessary changes in order to update this package : https://gist.github.com/jonthn/5e9a5e13480593c586c1df0f63338756

A possible 'changelog' (I've reduced the actual changelog) for the commit could be :

2016-03-06 version 1.4.1

 * Fix TARGET_OS_IPHONE checking (#436, #438)
 * Fix invalid front() call for empty container (#435. #437)
 * Fix compile error on g++6 (C++11 only) (#426, #428)
 * Fix zone size expansion logic (#423, #427)

2016-01-22 version 1.4.0

 **recommended changes**

 * Define MSGPACK_DISABLE_LEGACY_NIL, then msgpack::type::nil is replaced by with msgpack::type::nil_t (#408, #411, #412). Replace msgpack::type::nil with msgpack::type::nil_t in client codes. msgpack::type::nil will be removed on the version 2.0.0.

 * Define MSGPACK_DISABLE_LEGACY_CONVERT, then msgpack::object::convert(T*) is removed (#410). Replace calling msgpack::bojectconvert(T*) with msgpack::bojectconvert(T&) in client codes

   msgpack::object::convert(T*) will be removed on the version 2.0.0

Define the macros above as follows when you compile C++ codes that use msgpack-c:
g++ -Ipath_to_msgpack/include -DMSGPACK_DISABLE_LEGACY_NIL -DMSGPACK_DISABLE_LEGACY_CONVERT your_code.cpp

You can compile existing codes without defining macros above but I recommend defining them and updating your codes to fix the issues #408, #411, #412, #399, and #410. It is also a good preparation for the version 2.0.0.

 **other updates**

 * Improve documents (#387, #407)
 * Remove C++ version library (#394, #402)
 * Add Doxyfile and ChangeLog to the distribution package (#397)
 * Add signed/unsigned char test to travis-ci (#398)
 * Remove some warnings (#400, #401, #409)
 * Fix endian checking. (#404)

2015-11-21 version 1.3.0

 * Change the license from the Apache License Version 2.0 to the Boost Software License, Version 1.0.(#386)
 * Remove some warnings (#365)
 * Add std::reference_wrapper support(#373, #384)
 * Improve tests (#375, #378, #379, #380)
 * Fix msvc specific problem (#376, #383)
 * Fix typos (#381)

2015-09-04 version 1.2.0

 **breaking changes**

 * Change std::vector and std::array mapped to BIN instead of ARRAY (#243)
 * Remove redundant copy (#285)

 **other updates**

 * Various fixes / improvements 
 * Fix and Improve build system (#346, #350, #361, #363)
 * Import Boost.Preprocessor/Boost.Predef as a part of msgpack-c (#312)
 * Add shared/static library switching option (#316)

2015-04-03 version 1.1.0

 **breaking changes**

 * Remove msgpack_fwd.hpp
 * Improve user types adaptation mechanism (#262) Since version 1.0.0, users need to obey the correct include order. However, it is very difficult to maintain the correct order in big projects. version 1.1.0 removed this order. Users don't need to care about include order. Migration guide from 1.0.x to 1.1.0 has been written. See https://github.com/msgpack/msgpack-c/wiki

 **other updates**

 * Fix vector size check (#251)
 * Fix inttypes.h inclusion on MSVC (#257)
 * Support documents generation by Doxygen (#259)
 * Remove C99 style variable declaration (#253)
 * Improve documents (https://github.com/msgpack/msgpack-c/wiki)

2015-03-22 version 1.0.1:

 * Fix compilation error on Mac 10.9 (#244)
 * Other small fixes

2015-03-10 version 1.0.0:

 * Support msgpack v5 format (str, bin, and ext) https://github.com/msgpack/msgpack/blob/master/spec.md (#142)
 * Update msgpack-c as a header-only library on C++ (#142)
 * Add an API versioning functionality https://github.com/msgpack/msgpack-c/wiki/cpp_versioning (#139)
 * Add C++11 enum class support (#205)
 * More changes and fixes

>How-To-Repeat:

>Fix:
See https://gist.github.com/jonthn/5e9a5e13480593c586c1df0f63338756

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.