diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-13 21:20:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-14 20:23:32 +0100 |
commit | 2f9c42cb12b476a78214e2f7d5bb3f984ce05de6 (patch) | |
tree | a090b49934af522bd3f29135d3c4f7bbfeb9c5dd /dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch | |
parent | Move {dev-util → dev-build}/tinycmmc (diff) | |
download | gentoo-2f9c42cb12b476a78214e2f7d5bb3f984ce05de6.tar.gz gentoo-2f9c42cb12b476a78214e2f7d5bb3f984ce05de6.tar.bz2 gentoo-2f9c42cb12b476a78214e2f7d5bb3f984ce05de6.zip |
Move {dev-util → dev-build}/cmake
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34792
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch')
-rw-r--r-- | dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch b/dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch new file mode 100644 index 000000000000..0f0a6b681bc7 --- /dev/null +++ b/dev-build/cmake/files/cmake-3.19.1-darwin-gcc.patch @@ -0,0 +1,14 @@ +grobian@gentoo.org: fix compilation on macOS using GCC + +compiler says it all: include memory if you use unique_ptr + +--- a/Source/cmMachO.h.orig 2020-11-24 14:50:26.000000000 +0100 ++++ b/Source/cmMachO.h 2020-11-28 16:05:11.509620124 +0100 +@@ -6,6 +6,7 @@ + + #include <iosfwd> + #include <string> ++#include <memory> + + #if !defined(CMAKE_USE_MACH_PARSER) + # error "This file may be included only if CMAKE_USE_MACH_PARSER is enabled." |