supertux2: fix build with gcc>=12

This commit is contained in:
Duncaen 2022-10-10 17:24:59 +02:00
parent 5cb7beab38
commit dd90ff3148
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -upr SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp
--- SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp 2021-12-23 01:01:58.000000000 +0200
+++ SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp 2022-06-13 15:20:45.305976668 +0300
@@ -47,6 +47,7 @@ extern "C"{
#include <stdexcept>
#include <cstring>
#include <string>
+#include <memory>
#include "zip_manager.hpp"