summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-09-10 19:35:48 +0200
committerØrjan Malde <red@foxi.me>2021-09-10 19:35:48 +0200
commit28edd97a59fff773367b050bad52d36d6dc18fad (patch)
tree25f2e9ec992e11b510043d47dbedd7e2c0906db0
parent0cd1f9a3f12e53b6aeaec1dadee2ebca2923fe68 (diff)
downloadmidipix_build-28edd97a59fff773367b050bad52d36d6dc18fad.tar.bz2
midipix_build-28edd97a59fff773367b050bad52d36d6dc18fad.tar.xz
patches/cmake_host-3.7.2.local.patch: gcc11 compatibility
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/cmake_host-3.7.2.local.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/cmake_host-3.7.2.local.patch b/patches/cmake_host-3.7.2.local.patch
index d907c7a5..84c27971 100644
--- a/patches/cmake_host-3.7.2.local.patch
+++ b/patches/cmake_host-3.7.2.local.patch
@@ -1,3 +1,14 @@
+diff -ru cmake-3.7.2.orig/Source/cmServerProtocol.cxx cmake-3.7.2/Source/cmServerProtocol.cxx
+--- cmake-3.7.2.orig/Source/cmServerProtocol.cxx 2017-01-13 15:05:41.000000000 +0100
++++ cmake-3.7.2/Source/cmServerProtocol.cxx 2021-09-10 19:16:52.942413410 +0200
+@@ -26,6 +26,7 @@
+ #include <algorithm>
+ #include <string>
+ #include <vector>
++#include <limits>
+
+ // Get rid of some windows macros:
+ #undef max
diff -ru cmake-3.7.2.orig/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h cmake-3.7.2/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h
--- cmake-3.7.2.orig/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h 2017-01-13 15:05:42.000000000 +0100
+++ cmake-3.7.2/Utilities/cmlibarchive/libarchive/archive_openssl_hmac_private.h 2018-05-08 22:39:23.249070904 +0200