aboutsummaryrefslogtreecommitdiff
path: root/minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2021-09-17 08:06:51 -0500
committerSlack Coder <slackcoder@server.ky>2021-09-17 08:07:17 -0500
commit5017ac8bd80e8bac9bf37d87a0d6c66a17c17f0e (patch)
tree655d9d9aebdde4e11b8aa1e965484b4e65f68caf /minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch
parent4f0d9259a653f40fc8b511b955b149b8f7ccbec8 (diff)
downloadslackbuilds-5017ac8bd80e8bac9bf37d87a0d6c66a17c17f0e.tar.xz
minetest: 5.4.1
Diffstat (limited to 'minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch')
-rw-r--r--minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch b/minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch
new file mode 100644
index 0000000..d9c6b5d
--- /dev/null
+++ b/minetest/patch/0001-Fix-build-for-newer-versions-of-GCC-11246.patch
@@ -0,0 +1,24 @@
+From 7c2826cbc0f36027d4a9781f433150d1c5d0d03f Mon Sep 17 00:00:00 2001
+From: lhofhansl <larsh@apache.org>
+Date: Thu, 6 May 2021 10:24:30 -0700
+Subject: [PATCH 1/1] Fix build for newer versions of GCC (#11246)
+
+---
+ src/clientiface.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/clientiface.h b/src/clientiface.h
+index cc5292b71..dfd976741 100644
+--- a/src/clientiface.h
++++ b/src/clientiface.h
+@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+ #include <list>
+ #include <vector>
+ #include <set>
++#include <memory>
+ #include <mutex>
+
+ class MapBlock;
+--
+2.33.0
+