head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2017.07.29.22.29.49; author wiz; state dead; branches; next 1.1; commitid wVhet5tZlStjWa1A; 1.1 date 2017.07.29.10.00.03; author wiz; state Exp; branches; next ; commitid ir1aRSkPeYI2N61A; desc @@ 1.2 log @boost-headers: revert previous; upstream says it's incorrect and it's incomplete too. Bump PKGREVISION. @ text @$NetBSD: patch-boost_locale_util.hpp,v 1.1 2017/07/29 10:00:03 wiz Exp $ Avoid deprecated auto_ptr. https://github.com/boostorg/locale/pull/19 --- boost/locale/util.hpp.orig 2017-04-17 02:22:21.000000000 +0000 +++ boost/locale/util.hpp @@@@ -176,15 +176,15 @@@@ namespace util { /// This function creates a \a base_converter that can be used for conversion between UTF-8 and /// unicode code points /// - BOOST_LOCALE_DECL std::auto_ptr create_utf8_converter(); + BOOST_LOCALE_DECL std::unique_ptr create_utf8_converter(); /// /// This function creates a \a base_converter that can be used for conversion between single byte /// character encodings like ISO-8859-1, koi8-r, windows-1255 and Unicode code points, /// /// If \a encoding is not supported, empty pointer is returned. You should check if - /// std::auto_ptr::get() != 0 + /// std::unique_ptr::get() != 0 /// - BOOST_LOCALE_DECL std::auto_ptr create_simple_converter(std::string const &encoding); + BOOST_LOCALE_DECL std::unique_ptr create_simple_converter(std::string const &encoding); /// @@@@ -199,7 +199,7 @@@@ namespace util { /// of wide encoding type /// BOOST_LOCALE_DECL - std::locale create_codecvt(std::locale const &in,std::auto_ptr cvt,character_facet_type type); + std::locale create_codecvt(std::locale const &in,std::unique_ptr cvt,character_facet_type type); /// /// Install utf8 codecvt to UTF-16 or UTF-32 into locale \a in and return @ 1.1 log @boost-headers: do not use auto_ptr Fixes build of gnucash-wip. Reported upstream as https://github.com/boostorg/locale/pull/19 Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @