pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jul 29 10:00:03 UTC 2017
Modified Files:
pkgsrc/devel/boost-headers: Makefile
Added Files:
pkgsrc/meta-pkgs/boost/patches: patch-boost_locale_format.hpp
patch-boost_locale_generator.hpp
patch-boost_locale_localization__backend.hpp
patch-boost_locale_util.hpp
Log Message:
boost-headers: do not use auto_ptr
Fixes build of gnucash-wip.
Reported upstream as
https://github.com/boostorg/locale/pull/19
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/boost-headers/Makefile
cvs rdiff -u -r0 -r1.1 \
pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_format.hpp \
pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_generator.hpp \
pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_localization__backend.hpp \
pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_util.hpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/boost-headers/Makefile
diff -u pkgsrc/devel/boost-headers/Makefile:1.41 pkgsrc/devel/boost-headers/Makefile:1.42
--- pkgsrc/devel/boost-headers/Makefile:1.41 Tue Jun 27 20:08:59 2017
+++ pkgsrc/devel/boost-headers/Makefile Sat Jul 29 10:00:03 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2017/06/27 20:08:59 joerg Exp $
+# $NetBSD: Makefile,v 1.42 2017/07/29 10:00:03 wiz Exp $
-PKGREVISION= 2
+PKGREVISION= 3
BOOST_PACKAGE= headers
BOOST_COMMENT= (build-time headers)
BOOST_CONFIG= generate
Added files:
Index: pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_format.hpp
diff -u /dev/null pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_format.hpp:1.1
--- /dev/null Sat Jul 29 10:00:03 2017
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_format.hpp Sat Jul 29 10:00:03 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-boost_locale_format.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/format.hpp.orig 2017-04-17 02:22:21.000000000 +0000
++++ boost/locale/format.hpp
+@@ -121,7 +121,7 @@ namespace boost {
+
+ std::ios_base &ios_;
+ struct data;
+- std::auto_ptr<data> d;
++ std::unique_ptr<data> d;
+ };
+
+ }
Index: pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_generator.hpp
diff -u /dev/null pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_generator.hpp:1.1
--- /dev/null Sat Jul 29 10:00:03 2017
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_generator.hpp Sat Jul 29 10:00:03 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-boost_locale_generator.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/generator.hpp.orig 2017-04-17 02:22:21.000000000 +0000
++++ boost/locale/generator.hpp
+@@ -220,7 +220,7 @@ namespace boost {
+ void operator=(generator const &);
+
+ struct data;
+- std::auto_ptr<data> d;
++ std::unique_ptr<data> d;
+ };
+
+ }
Index: pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_localization__backend.hpp
diff -u /dev/null pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_localization__backend.hpp:1.1
--- /dev/null Sat Jul 29 10:00:03 2017
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_localization__backend.hpp Sat Jul 29 10:00:03 2017
@@ -0,0 +1,33 @@
+$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<localization_backend> get() const;
++ std::unique_ptr<localization_backend> 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<localization_backend> backend);
++ void add_backend(std::string const &name,std::unique_ptr<localization_backend> backend);
+
+ ///
+ /// Clear backend
+@@ -143,7 +143,7 @@ namespace boost {
+ static localization_backend_manager global();
+ private:
+ class impl;
+- std::auto_ptr<impl> pimpl_;
++ std::unique_ptr<impl> pimpl_;
+ };
+
+ } // locale
Index: pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_util.hpp
diff -u /dev/null pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_util.hpp:1.1
--- /dev/null Sat Jul 29 10:00:03 2017
+++ pkgsrc/meta-pkgs/boost/patches/patch-boost_locale_util.hpp Sat Jul 29 10:00:03 2017
@@ -0,0 +1,35 @@
+$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<base_converter> create_utf8_converter();
++ BOOST_LOCALE_DECL std::unique_ptr<base_converter> 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<base_converter>::get() != 0
++ /// std::unique_ptr<base_converter>::get() != 0
+ ///
+- BOOST_LOCALE_DECL std::auto_ptr<base_converter> create_simple_converter(std::string const &encoding);
++ BOOST_LOCALE_DECL std::unique_ptr<base_converter> 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<base_converter> cvt,character_facet_type type);
++ std::locale create_codecvt(std::locale const &in,std::unique_ptr<base_converter> cvt,character_facet_type type);
+
+ ///
+ /// Install utf8 codecvt to UTF-16 or UTF-32 into locale \a in and return
Home |
Main Index |
Thread Index |
Old Index