summaryrefslogtreecommitdiff
path: root/dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-07-13 23:22:56 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-07-14 01:46:21 -0400
commit16dbaad166c01dc830f0d42c4d915c1f5b18f775 (patch)
treee2973ff2abef089a27dd8cec0ac34cf47c504b5f /dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch
parent35da96df067a8a2cb5f983830b0f63f744000820 (diff)
downloadgentoo-16dbaad166c01dc830f0d42c4d915c1f5b18f775.tar.gz
gentoo-16dbaad166c01dc830f0d42c4d915c1f5b18f775.tar.bz2
gentoo-16dbaad166c01dc830f0d42c4d915c1f5b18f775.zip
dev-cpp/sol2: use smaller gcc11 patch
Upstream's commit that fixes this has too many unrelated changes. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch')
-rw-r--r--dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch b/dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch
new file mode 100644
index 000000000000..cc8c6bb1b4f7
--- /dev/null
+++ b/dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch
@@ -0,0 +1,10 @@
+Add missing include needed for tests (and possibly consumers) with gcc11.
+
+Fixed upstream in:
+https://github.com/ThePhD/sol2/commit/e5e6466e09b632677d24a8f204d6a0ea0a8862b1
+--- a/include/sol/stack_core.hpp
++++ b/include/sol/stack_core.hpp
+@@ -42,2 +42,3 @@
+ #include <string>
++#include <limits>
+ #include <algorithm>