From 9e95a1ddd671d2f4956083eaaf356a8ee4c1c623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 21 Sep 2022 23:38:13 +0200 Subject: [PATCH] supertux: Fix build with latest gcc/glibc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...ix-missing-include-with-latest-glibc.patch | 34 +++++++++++++++++++ recipes-games/supertux/supertux2_0.6.3.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 recipes-games/supertux/files/0004-Fix-missing-include-with-latest-glibc.patch diff --git a/recipes-games/supertux/files/0004-Fix-missing-include-with-latest-glibc.patch b/recipes-games/supertux/files/0004-Fix-missing-include-with-latest-glibc.patch new file mode 100644 index 0000000..b2669ce --- /dev/null +++ b/recipes-games/supertux/files/0004-Fix-missing-include-with-latest-glibc.patch @@ -0,0 +1,34 @@ +From ee4ffc159acfb34dd47b1810448ee567fdfb427d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Wed, 21 Sep 2022 23:29:10 +0200 +Subject: [PATCH] Fix missing include with latest glibc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: +| SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.hpp:70:10: error: 'unique_ptr' in namespace 'std' does not name a template type +| 70 | std::unique_ptr Add_File(const std::string& filename,const bool binary=true); + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + external/partio_zip/zip_manager.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/external/partio_zip/zip_manager.hpp b/external/partio_zip/zip_manager.hpp +index 666884d..5cc6ff8 100644 +--- a/external/partio_zip/zip_manager.hpp ++++ b/external/partio_zip/zip_manager.hpp +@@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + #include + #include + #include ++#include + + namespace Partio{ + struct ZipFileHeader; +-- +2.35.3 + diff --git a/recipes-games/supertux/supertux2_0.6.3.bb b/recipes-games/supertux/supertux2_0.6.3.bb index f555371..e63c56b 100644 --- a/recipes-games/supertux/supertux2_0.6.3.bb +++ b/recipes-games/supertux/supertux2_0.6.3.bb @@ -20,6 +20,7 @@ SRC_URI = " \ file://0001-CMakeLists.txt-Pin-PHYSFS_getPrefDir-autodetection-d.patch \ file://0002-do-not-set-included-paths-as-system-causes-trouble-w.patch \ file://0003-Set-DCMAKE_MAKE_PROGRAM-make-explicitly-for-external.patch \ + file://0004-Fix-missing-include-with-latest-glibc.patch \ " SRC_URI[sha256sum] = "f7940e6009c40226eb34ebab8ffb0e3a894892d891a07b35d0e5762dd41c79f6"