supertux2: fix build with gcc>=12
This commit is contained in:
parent
5cb7beab38
commit
dd90ff3148
11
srcpkgs/supertux2/patches/gcc12.patch
Normal file
11
srcpkgs/supertux2/patches/gcc12.patch
Normal 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user