void-packages/srcpkgs/supertux2/patches/gcc12.patch

12 lines
478 B
Diff

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"