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_localization__backend.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/localization_backend.hpp.orig 2017-04-17 02:22:21.000000000 +0000 +++ boost/locale/localization_backend.hpp @@@@ -104,14 +104,14 @@@@ namespace boost { /// /// Create new localization backend according to current settings. /// - std::auto_ptr get() const; + std::unique_ptr get() const; /// /// Add new backend to the manager, each backend should be uniquely defined by its name. /// /// This library provides: "icu", "posix", "winapi" and "std" backends. /// - void add_backend(std::string const &name,std::auto_ptr backend); + void add_backend(std::string const &name,std::unique_ptr backend); /// /// Clear backend @@@@ -143,7 +143,7 @@@@ namespace boost { static localization_backend_manager global(); private: class impl; - std::auto_ptr pimpl_; + std::unique_ptr pimpl_; }; } // locale @ 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$ @