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 issuesdiff -r1.5 -r1.6 pkgsrc/textproc/fmtlib/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= fmt-6.1.2 | 3 | DISTNAME= fmt-6.2.0 | |
4 | PKGNAME= ${DISTNAME:S/fmt/fmtlib/} | 4 | PKGNAME= ${DISTNAME:S/fmt/fmtlib/} | |
5 | CATEGORIES= textproc | 5 | CATEGORIES= textproc | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/} | |
7 | GITHUB_PROJECT= fmt | 7 | GITHUB_PROJECT= fmt | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://fmtlib.net/ | 10 | HOMEPAGE= https://fmt.dev/ | |
11 | COMMENT= Formatting library | 11 | COMMENT= Formatting library | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | USE_CMAKE= yes | 14 | USE_CMAKE= yes | |
15 | USE_LANGUAGES= c c++11 | 15 | USE_LANGUAGES= c c++11 | |
16 | PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in | 16 | PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in | |
17 | TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC} | 17 | TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC} | |
18 | TEST_TARGET= test | 18 | TEST_TARGET= test | |
19 | 19 | |||
20 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | 20 | CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON | |
21 | 21 | |||
22 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -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 $ | |
2 | include/fmt/chrono.h | 2 | include/fmt/chrono.h | |
3 | include/fmt/color.h | 3 | include/fmt/color.h | |
4 | include/fmt/compile.h | 4 | include/fmt/compile.h | |
5 | include/fmt/core.h | 5 | include/fmt/core.h | |
6 | include/fmt/format-inl.h | 6 | include/fmt/format-inl.h | |
7 | include/fmt/format.h | 7 | include/fmt/format.h | |
8 | include/fmt/locale.h | 8 | include/fmt/locale.h | |
9 | include/fmt/os.h | |||
9 | include/fmt/ostream.h | 10 | include/fmt/ostream.h | |
10 | include/fmt/posix.h | 11 | include/fmt/posix.h | |
11 | include/fmt/printf.h | 12 | include/fmt/printf.h | |
12 | include/fmt/ranges.h | 13 | include/fmt/ranges.h | |
13 | lib/cmake/fmt/fmt-config-version.cmake | 14 | lib/cmake/fmt/fmt-config-version.cmake | |
14 | lib/cmake/fmt/fmt-config.cmake | 15 | lib/cmake/fmt/fmt-config.cmake | |
15 | lib/cmake/fmt/fmt-targets-release.cmake | 16 | lib/cmake/fmt/fmt-targets-release.cmake | |
16 | lib/cmake/fmt/fmt-targets.cmake | 17 | lib/cmake/fmt/fmt-targets.cmake | |
17 | lib/libfmt.so | 18 | lib/libfmt.so | |
18 | lib/libfmt.so.${PKGVERSION} | 19 | lib/libfmt.so.${PKGVERSION} | |
19 | lib/libfmt.so.6 | 20 | lib/libfmt.so.6 | |
20 | lib/pkgconfig/fmt.pc | 21 | lib/pkgconfig/fmt.pc |
@@ -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 | |||
3 | SHA1 (fmt-6.1.2.tar.gz) = dc59b27d461f1af12daf73f3e00d18bf1e9eed78 | 3 | SHA1 (fmt-6.2.0.tar.gz) = 3265b2ab59b25f680030fc6ded266e4385096141 | |
4 | RMD160 (fmt-6.1.2.tar.gz) = 7e620b02e18e754ee860ee0159599e3d58b2b9cb | 4 | RMD160 (fmt-6.2.0.tar.gz) = 5e56baabdcc3e6ba9af0a3ba3adcaf479c84d135 | |
5 | SHA512 (fmt-6.1.2.tar.gz) = 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7 | 5 | SHA512 (fmt-6.2.0.tar.gz) = 0003543f437bae416600a2b982eb133f65588bd36d7506fa7d883ae3133fcaf7ad825904af9b588ea22e5d91e56560aaf4243a6afa11ff6d8aace2e4bb1b0cee | |
6 | Size (fmt-6.1.2.tar.gz) = 723160 bytes | 6 | Size (fmt-6.2.0.tar.gz) = 733403 bytes |