diff options
author | Sam James <sam@gentoo.org> | 2021-02-17 22:49:27 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-17 22:50:03 +0000 |
commit | a9f9f998f1fa63fea5f1c54a7e91783c6db2983b (patch) | |
tree | 9d3c6ed67547006bf12034bb181ca4b6c3716f16 /dev-util/cmake | |
parent | package.mask: remove pdfrw mask for testing (diff) | |
download | gentoo-a9f9f998f1fa63fea5f1c54a7e91783c6db2983b.tar.gz gentoo-a9f9f998f1fa63fea5f1c54a7e91783c6db2983b.tar.bz2 gentoo-a9f9f998f1fa63fea5f1c54a7e91783c6db2983b.zip |
dev-util/cmake: fix Darwin build for 3.19.5
See also: 96ed1a37d7fc76b5e970158d31ce5692dbf58a12
Bug: https://bugs.gentoo.org/757426
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/cmake-3.19.5.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-util/cmake/cmake-3.19.5.ebuild b/dev-util/cmake/cmake-3.19.5.ebuild index 99b8eab6c2f1..3d40c53f2157 100644 --- a/dev-util/cmake/cmake-3.19.5.ebuild +++ b/dev-util/cmake/cmake-3.19.5.ebuild @@ -149,6 +149,8 @@ src_prepare() { Source/cmStandardLexer.h \ Source/cmSystemTools.cxx \ Source/cmTimestamp.cxx + sed -i -e 's/^#if !defined(_POSIX_C_SOURCE) && !defined(_WIN32) && !defined(__sun)/& \&\& !defined(__APPLE__)/' \ + Source/cmStandardLexer.h fi # Add gcc libs to the default link paths |