Just updating this with the latest iteration. Test issue has been worked around - have confirmed with upstream it doesn't really matter. Test suite now passes completely but I will try and figure it out when I have more time. The bug is in the test code, not the actual library code as far as I can figure out.
In the process of debugging the test I found the library won't build in certain scenarios - I've fixed that, patch included. The same patch has been sent to upstream and should get merged. No other changes aside from some whitespace changes. Tested in the same way and confirmed working. Ashton Fagg <[email protected]> writes: > Hello, > > I have here a new port for the fmt library for C++. > > NOTE: For bonus confusion, there's already a devel/libfmt. Please note > these are *not* the same software. (suggestions on naming appreciated) > > fmt (https://github.com/fmtlib/fmt) is a formatting library that > provides an alternative to C++ iostreams and C stdio. It's used quite > widely nowadays, it's sort of like the various "pretty printing" > libraries you see in Python. > > I have built this on my -current machine (amd64). The package builds and > seems to work. Portcheck reports clean. > > Two caveats: > > - This is their latest release. However, it seems although they provide > build options to enable -Werror and -pedantic, they apparently don't > actually test it as one of the tests won't build. They appear to have > noticed this and fixed it after this release was cut. As a result, > I've backported their fix so we can compile with the most stringent > options enabled. > > - The test suite passes only 15/16 tests. The single failure appears to > be a complaint over the wording of an error message it's expecting - > the way they're testing this stuff is somewhat strange. As far as I > can tell, this doesn't actually matter for anything. Since everything > else passes it seems things are working as intended. I will > investigate this further and send a patch upstream if required. > > Suggestions greatly appreciated. > > Thanks, > > Ash
fmt-7.1.1.tgz
Description: Binary data
