pkgsrc/textproc/fmtlib/Makefile
adam 9532bb938c 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
2020-04-08 09:39:38 +00:00

22 lines
515 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/04/08 09:39:38 adam Exp $
DISTNAME= fmt-6.2.0
PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
GITHUB_PROJECT= fmt
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://fmt.dev/
COMMENT= Formatting library
LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++11
PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
TEST_TARGET= test
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
.include "../../mk/bsd.pkg.mk"