Wed Apr 8 09:39:38 2020 UTC ()
fmtlib: updated to 6.2.0

6.2.0:
* Improved error reporting when trying to format an object of a non-formattable type
* Reduced library size by ~10%.
* Always print decimal point if # is specified
* Implemented the 'L' specifier for locale-specific numeric formatting to improve compatibility with std::format. The 'n' specifier is now deprecated and will be removed in the next major release.
* Moved OS-specific APIs such as windows_error from fmt/format.h to fmt/os.h. You can define FMT_DEPRECATED_INCLUDE_OS to automatically include fmt/os.h from fmt/format.h for compatibility but this will be disabled in the next major release.
* Added precision overflow detection in floating-point formatting.
* Implemented detection of invalid use of fmt::arg.
* Used type_identity to block unnecessary template argument deduction.
* Improved UTF-8 handling
* Added experimental dynamic argument storage
* Made fmt::join accept initializer_list
* Fixed handling of empty tuples
* Fixed handling of output iterators in format_to_n
* Fixed formatting of std::chrono::duration types to wide output
* Added const begin and end overload to buffers
* Added the ability to disable floating-point formatting via FMT_USE_FLOAT, FMT_USE_DOUBLE and FMT_USE_LONG_DOUBLE macros for extremely memory-constrained embedded system
* Made FMT_STRING work with constexpr string_view
* Implemented a minor optimization in the format string parser
* Improved attribute detection
* Improved documentation
* Fixed symbol visibility on Linux when compiling with -fvisibility=hidden
* Implemented various build configuration fixes and improvements
* Fixed various warnings and compilation issues


(adam)
diff -r1.5 -r1.6 pkgsrc/textproc/fmtlib/Makefile
diff -r1.4 -r1.5 pkgsrc/textproc/fmtlib/PLIST
diff -r1.6 -r1.7 pkgsrc/textproc/fmtlib/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/textproc/fmtlib/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/Makefile 2019/12/11 18:43:34 1.5
+++ pkgsrc/textproc/fmtlib/Makefile 2020/04/08 09:39:38 1.6
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: Makefile,v 1.5 2019/12/11 18:43:34 adam Exp $ 1# $NetBSD: Makefile,v 1.6 2020/04/08 09:39:38 adam Exp $
2 2
3DISTNAME= fmt-6.1.2 3DISTNAME= fmt-6.2.0
4PKGNAME= ${DISTNAME:S/fmt/fmtlib/} 4PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
7GITHUB_PROJECT= fmt 7GITHUB_PROJECT= fmt
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://fmtlib.net/ 10HOMEPAGE= https://fmt.dev/
11COMMENT= Formatting library 11COMMENT= Formatting library
12LICENSE= mit 12LICENSE= mit
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES= c c++11 15USE_LANGUAGES= c c++11
16PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in 16PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in
17TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC} 17TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
18TEST_TARGET= test 18TEST_TARGET= test
19 19
20CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON 20CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
21 21
22.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/textproc/fmtlib/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/PLIST 2019/12/07 13:56:58 1.4
+++ pkgsrc/textproc/fmtlib/PLIST 2020/04/08 09:39:38 1.5
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1@comment $NetBSD: PLIST,v 1.4 2019/12/07 13:56:58 adam Exp $ 1@comment $NetBSD: PLIST,v 1.5 2020/04/08 09:39:38 adam Exp $
2include/fmt/chrono.h 2include/fmt/chrono.h
3include/fmt/color.h 3include/fmt/color.h
4include/fmt/compile.h 4include/fmt/compile.h
5include/fmt/core.h 5include/fmt/core.h
6include/fmt/format-inl.h 6include/fmt/format-inl.h
7include/fmt/format.h 7include/fmt/format.h
8include/fmt/locale.h 8include/fmt/locale.h
 9include/fmt/os.h
9include/fmt/ostream.h 10include/fmt/ostream.h
10include/fmt/posix.h 11include/fmt/posix.h
11include/fmt/printf.h 12include/fmt/printf.h
12include/fmt/ranges.h 13include/fmt/ranges.h
13lib/cmake/fmt/fmt-config-version.cmake 14lib/cmake/fmt/fmt-config-version.cmake
14lib/cmake/fmt/fmt-config.cmake 15lib/cmake/fmt/fmt-config.cmake
15lib/cmake/fmt/fmt-targets-release.cmake 16lib/cmake/fmt/fmt-targets-release.cmake
16lib/cmake/fmt/fmt-targets.cmake 17lib/cmake/fmt/fmt-targets.cmake
17lib/libfmt.so 18lib/libfmt.so
18lib/libfmt.so.${PKGVERSION} 19lib/libfmt.so.${PKGVERSION}
19lib/libfmt.so.6 20lib/libfmt.so.6
20lib/pkgconfig/fmt.pc 21lib/pkgconfig/fmt.pc

cvs diff -r1.6 -r1.7 pkgsrc/textproc/fmtlib/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/fmtlib/distinfo 2019/12/11 18:43:34 1.6
+++ pkgsrc/textproc/fmtlib/distinfo 2020/04/08 09:39:38 1.7
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.6 2019/12/11 18:43:34 adam Exp $ 1$NetBSD: distinfo,v 1.7 2020/04/08 09:39:38 adam Exp $
2 2
3SHA1 (fmt-6.1.2.tar.gz) = dc59b27d461f1af12daf73f3e00d18bf1e9eed78 3SHA1 (fmt-6.2.0.tar.gz) = 3265b2ab59b25f680030fc6ded266e4385096141
4RMD160 (fmt-6.1.2.tar.gz) = 7e620b02e18e754ee860ee0159599e3d58b2b9cb 4RMD160 (fmt-6.2.0.tar.gz) = 5e56baabdcc3e6ba9af0a3ba3adcaf479c84d135
5SHA512 (fmt-6.1.2.tar.gz) = 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7 5SHA512 (fmt-6.2.0.tar.gz) = 0003543f437bae416600a2b982eb133f65588bd36d7506fa7d883ae3133fcaf7ad825904af9b588ea22e5d91e56560aaf4243a6afa11ff6d8aace2e4bb1b0cee
6Size (fmt-6.1.2.tar.gz) = 723160 bytes 6Size (fmt-6.2.0.tar.gz) = 733403 bytes