1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net-im/licq
Dimitry Andric 4572c48fc4 net-im/licq: apply googletest patches which fix null pointer accesses
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
2021-06-06 20:13:58 +02:00
..
files net-im/licq: apply googletest patches which fix null pointer accesses 2021-06-06 20:13:58 +02:00
distinfo
Makefile net-im/licq: apply googletest patches which fix null pointer accesses 2021-06-06 20:13:58 +02:00
pkg-descr
pkg-message
pkg-plist