summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-17 22:49:27 +0000
committerSam James <sam@gentoo.org>2021-02-17 22:50:03 +0000
commita9f9f998f1fa63fea5f1c54a7e91783c6db2983b (patch)
tree9d3c6ed67547006bf12034bb181ca4b6c3716f16 /dev-util
parentpackage.mask: remove pdfrw mask for testing (diff)
downloadgentoo-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')
-rw-r--r--dev-util/cmake/cmake-3.19.5.ebuild2
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