On recent CURRENT (FreeBSD 13.0-CURRENT #68 r352461: Tue Sep 17 22:42:19 CEST 2019 amd64), updating port math/suitesparse on ports tree revision 512281 from suitesparse-5.2.0_4 to suitesparse-5.4.0 fails: [...] [ 1%] Building CXX object CMakeFiles/mongoose_lib_dbg.dir/Source/Mongoose_BoundaryHeap.o In file included from /usr/ports/math/suitesparse/work/SuiteSparse/Mongoose/Include/Mongoose_Debug.hpp:22, from /usr/ports/math/suitesparse/work/SuiteSparse/Mongoose/Source/Mongoose_BoundaryHeap.cpp:14: /usr/local/lib/gcc9/include/c++/cstdio:124:11: error: '::gets' has not been declared 124 | using ::gets; | ^~~~
It appears that ::gets has been removed from C++11, then use compiler:c++0x. Thanks for the report!
A commit references this bug: Author: thierry Date: Fri Sep 20 07:18:17 UTC 2019 New revision: 512392 URL: https://svnweb.freebsd.org/changeset/ports/512392 Log: Fix on -CURRENT. PR: 240672 Reported by: ohartmann (at) walstatt.org Changes: head/math/suitesparse/Makefile