slackbuilds_ponce/games/minetest/gcc11.patch
Matteo Bernardini 0298e07868
games/minetest: Updated for version 5.4.1, patch for gcc >= 11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-09-16 00:45:33 +07:00

21 lines
605 B
Diff

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] 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 cc5292b71bf9..dfd97674137c 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;