Date: Tue, 18 Aug 2020 15:11:07 +0000 From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 248726] devel/cmake: fails to build on GCC architectures Message-ID: <bug-248726-25139-xOWAw3ry5n@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248726-25139@https.bugs.freebsd.org/bugzilla/> References: <bug-248726-25139@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248726 --- Comment #2 from commit-hook@FreeBSD.org --- A commit references this bug: Author: pkubaj Date: Tue Aug 18 15:10:09 UTC 2020 New revision: 545234 URL: https://svnweb.freebsd.org/changeset/ports/545234 Log: devel/cmake: fix build on GCC architectures Manually define __BSD_VISIBLE to make timespec_get() available: In file included from /usr/local/lib/gcc9/include/c++/chrono:41, from /wrkdirs/usr/ports/devel/cmake/work/cmake-3.18.1/Source/cmDuration.h:5, from /wrkdirs/usr/ports/devel/cmake/work/cmake-3.18.1/Source/cmSystemTools.h:19, from /wrkdirs/usr/ports/devel/cmake/work/cmake-3.18.1/Source/cmSystemTools.cxx:1= 3: /usr/local/lib/gcc9/include/c++/ctime:80:11: error: '::timespec_get' has = not been declared 80 | using ::timespec_get; | ^~~~~~~~~~~~ PR: 248726 Changes: head/devel/cmake/Makefile --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248726-25139-xOWAw3ry5n>