fmtlib: updated to 7.0.3 7.0.3: * Worked around broken ``numeric_limits`` for 128-bit integers * Added error reporting on missing named arguments * Stopped using 128-bit integers with clang-cl * Fixed issues in locale-specific integer formatting 7.0.2: * Worked around broken ``numeric_limits`` for 128-bit integers * Fixed compatibility with CMake 3.4 * Fixed handling of digit separators in locale-specific formatting 7.0.1: * Updated the inline version namespace name. * Worked around a gcc bug in mangling of alias templates * Fixed a linkage error on Windows * Fixed minor issues with the documentation. 7.0.0: * Reduced the library size. For example, on macOS a stripped test binary statically linked with {fmt} `shrank from ~368k to less than 100k * Added a simpler and more efficient `format string compilation API * Optimized integer formatting: ``format_to`` with format string compilation and a stack-allocated buffer is now `faster than to_chars on both libc++ and libstdc++ * Optimized handling of small format strings. * Applied extern templates to improve compile times when using the core API and ``fmt/format.h`` For example, on macOS with clang the compile time of a test translation unit dropped from 2.3s to 0.3s with ``-O2`` and from 0.6s to 0.3s with the default settings (``-O0``). * Named arguments are now stored on stack (no dynamic memory allocations) and the compiled code is more compact and efficient. * Implemented compile-time checks for dynamic width and precision * Added sentinel support to ``fmt::join`` * Added support for named args, ``clear`` and ``reserve`` to ``dynamic_format_arg_store`` * Added support for the ``'c'`` format specifier to integral types for compatibility with ``std::format`` * Replaced the ``'n'`` format specifier with ``'L'`` for compatibility with ``std::format`` The ``'n'`` specifier can be enabled via the ``FMT_DEPRECATED_N_SPECIFIER`` macro. * The ``'='`` format specifier is now disabled by default for compatibility with ``std::format``. It can be enabled via the ``FMT_DEPRECATED_NUMERIC_ALIGN`` macro. * Removed the following deprecated APIs: * ``FMT_STRING_ALIAS`` and ``fmt`` macros - replaced by ``FMT_STRING`` * ``fmt::basic_string_view::char_type`` - replaced by ``fmt::basic_string_view::value_type`` * ``convert_to_int`` * ``format_arg_store::types`` * ``*parse_context`` - replaced by ``*format_parse_context`` * ``FMT_DEPRECATED_INCLUDE_OS`` * ``FMT_DEPRECATED_PERCENT`` - incompatible with ``std::format`` * ``*writer`` - replaced by compiled format API * Renamed the ``internal`` namespace to ``detail`` * Improved compatibility between ``fmt::printf`` with the standard specs * Fixed handling of ``operator<<`` overloads that use ``copyfmt`` * Added the ``FMT_OS`` CMake option to control inclusion of OS-specific APIs in the fmt target. This can be useful for embedded platforms * Replaced ``FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION`` with the ``FMT_FUZZ`` macro to prevent interferring with fuzzing of projects using {fmt} * Fixed compatibility with emscripten * Improved documentation * Implemented various build configuration fixes and improvements * Fixed various warnings and compilation issuesdiff -r1.7 -r1.8 pkgsrc/textproc/fmtlib/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2020/05/13 15:25:40 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2020/09/08 13:46:58 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= fmt-6.2.1 | 3 | DISTNAME= fmt-7.0.3 | |
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= https://fmt.dev/ | 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 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2020/05/13 15:25:40 adam Exp $ | 1 | $NetBSD: distinfo,v 1.9 2020/09/08 13:46:58 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (fmt-6.2.1.tar.gz) = 39a90270631fc11e7431dff0a055f1898b0487f1 | 3 | SHA1 (fmt-7.0.3.tar.gz) = e5a93554711228e235774797f7bc84b0597a6de1 | |
4 | RMD160 (fmt-6.2.1.tar.gz) = b8c79b5201d9dc044051fe0312c3570fb6a991f1 | 4 | RMD160 (fmt-7.0.3.tar.gz) = 8ca4ac264e005d19aab0136d3228446a67357d89 | |
5 | SHA512 (fmt-6.2.1.tar.gz) = 520ef3addfecd9796253c347e0ecf4c18ef2f86d3b1b6b714f7834741f4737f1b7ed8365d3be46c9186617898911b23680cad2ae3cb7aadaf641ab32e327b0dc | 5 | SHA512 (fmt-7.0.3.tar.gz) = 26afe55255414e27d58c2389fcc8643b64adc04ecc3604f87024e6421706833cbad8ee4caf514dfb7e88da4162ab3e5ff8ff81b83b5f2fb66e9959e4d1bf0f9a | |
6 | Size (fmt-6.2.1.tar.gz) = 733646 bytes | 6 | Size (fmt-7.0.3.tar.gz) = 740047 bytes |