From 9c417bacd51da6d8b57fa9f37425161d30d4b95b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Nov 2020 20:40:51 +0000 Subject: gentoo resync : 28.11.2020 --- dev-util/cmake/files/cmake-3.19.1-darwin-gcc.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-util/cmake/files/cmake-3.19.1-darwin-gcc.patch (limited to 'dev-util/cmake/files') diff --git a/dev-util/cmake/files/cmake-3.19.1-darwin-gcc.patch b/dev-util/cmake/files/cmake-3.19.1-darwin-gcc.patch new file mode 100644 index 000000000000..0f0a6b681bc7 --- /dev/null +++ b/dev-util/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 + #include ++#include + + #if !defined(CMAKE_USE_MACH_PARSER) + # error "This file may be included only if CMAKE_USE_MACH_PARSER is enabled." -- cgit v1.2.3