devel/spdlog: Update to 1.17.0
- Use complete arguments/options
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/gabime/spdlog/releases
devel/spdlog: fix botched gmt offset calculation
The upstream code has like a handful of bugs in the place that should
obtain the GMT offset for a struct tm, and os-inl.h is a botch.
Strip the bogus workaround code and use tm.tm_gmtoff.
Reported by: diizzy@
URL: https://github.com/gabime/spdlog/issues/3483
Approved by: portmgr@ (just-fix-it blanket)
devel/spdlog: Update to 1.16.0
* Add "make test"
* Update requirements to compiler:c++14-lang
(only needed to unit tests however to avoid unnecessary
complexity just bump it to c++14 overall)
* Don't extract (lib)fmt
One unit tests fails related to timezone handling
PR: 290175
Reviewed by: vanilla (maintainer)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/spdlog: fix build on GCC architectures
assert() is not declared by default:
In file included from
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/src/async.cpp:11:
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h:
In member function 'bool spdlog::details::thread_pool::process_next_msg_()':
/wrkdirs/usr/ports/devel/spdlog/work/spdlog-1.4.2/include/spdlog/details/thread_pool-inl.h:119:9:
error: 'assert' was not declared in this scope
119 | assert(false && "Unexpected async_msg_type");
| ^~~~~~
PR: 242825
Approved by: vanilla (maintainer)
devel/spdlog: Use system fmt
This is in preparation for updating devel/libfmt to 6.0.0. Spdlog
bundles fmt 5.3.0 which is incompatible with 6.0.0. This would
lead to problems in consumers that use both.
PR: 240148
Submitted by: jbeich
Approved by: vanilla (maintainer)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
devel/spdlog: require C++11 toolchain (on powerpc*, mips*, sparc*)
CMake Error in tests/CMakeLists.txt:
Target "catch_tests" requires the language dialect "CXX11" (with compiler
extensions), but CMake does not know the compile flags to use to enable it.
tests/includes.h:7:10: fatal error: 'chrono' file not found
#include <chrono>
^~~~~~~~
1 error generated.
Reported by: pkg-fallout (mips64)
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)