During an exp-run for llvm 12 (see bug 255570), it turned out that
net-im/licq does not build with clang 12.0.0:
[ 92%] Running unit test
cd /wrkdirs/usr/ports/net-im/licq/work/.build/src && /usr/local/bin/ctest
Test project /wrkdirs/usr/ports/net-im/licq/work/.build/src
Start 1: licq
1/1 Test #1: licq .............................***Exception: SegFault 0.03 sec
This is due to licq using a relatively ancient version of googletest,
which has a few issues with more modern compilers. In particular, it
does not handle mocking methods with move-only return types, and in the
case of this port, this leads to a null pointer access and consequently
a segfault.
To fix the null pointer accesses, apply a few upstream googletest
commits.
Approved by: maintainer timeout (2 weeks)
PR: 255915
MFH: 2021Q2