* [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11
@ 2026-04-07 12:34 Michael Nosthoff via buildroot
2026-05-17 21:42 ` Romain Naour via buildroot
2026-05-29 8:30 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Michael Nosthoff via buildroot @ 2026-04-07 12:34 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
Fixes:
"missing #include <memory>" when building with GCC > 11.
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
V2: add "Upstream" to patch
---
package/supertux/0001-fix-gcc11-build.patch | 33 +++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/supertux/0001-fix-gcc11-build.patch
diff --git a/package/supertux/0001-fix-gcc11-build.patch b/package/supertux/0001-fix-gcc11-build.patch
new file mode 100644
index 0000000000..d5ada531c6
--- /dev/null
+++ b/package/supertux/0001-fix-gcc11-build.patch
@@ -0,0 +1,33 @@
+From 81809dd5e6f611b1d64d952f6d96310bcc9c5fca Mon Sep 17 00:00:00 2001
+From: Semphris <semphris@protonmail.com>
+Date: Fri, 17 Jun 2022 12:36:26 -0400
+Subject: [PATCH] Fix problem with GCC 11 and Partio's ZIP manager (missing
+ #include <memory>)
+
+Closes #2219 on GitHub. Same fix, but puts the include closer to the copyright header.
+
+Upstream: https://github.com/SuperTux/supertux/commit/81809dd5e6f611b1d64d952f6d96310bcc9c5fca
+Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
+---
+ external/partio_zip/zip_manager.hpp | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/external/partio_zip/zip_manager.hpp b/external/partio_zip/zip_manager.hpp
+index 666884dda53..245303c76be 100644
+--- a/external/partio_zip/zip_manager.hpp
++++ b/external/partio_zip/zip_manager.hpp
+@@ -1,8 +1,12 @@
+ // SOURCE: https://github.com/wdas/partio/blob/main/src/lib/io/ZIP.h
++// NOTE: This file was edited for purposes of compatibility with SuperTux.
+
+-/*
++// This include has been added to fix a problem with GCC 11+ (and maybe 10)
++#include <memory>
++
++// =============================================================================
+
+-NOTE: This file was edited for purposes of compatibility with SuperTux.
++/*
+
+ PARTIO SOFTWARE
+ Copyright 2010 Disney Enterprises, Inc. All rights reserved
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11
2026-04-07 12:34 [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11 Michael Nosthoff via buildroot
@ 2026-05-17 21:42 ` Romain Naour via buildroot
2026-05-29 8:30 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Romain Naour via buildroot @ 2026-05-17 21:42 UTC (permalink / raw)
To: Michael Nosthoff, buildroot; +Cc: Romain Naour
Hello Michael, All,
Le 07/04/2026 à 14:34, Michael Nosthoff via buildroot a écrit :
> Fixes:
> "missing #include <memory>" when building with GCC > 11.
>
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Its been a while since the last release but here it is:
https://github.com/SuperTux/supertux/releases/tag/v0.7.0
Applied to master. Thanks.
Best regards,
Romain
>
> ---
> V2: add "Upstream" to patch
>
> ---
> package/supertux/0001-fix-gcc11-build.patch | 33 +++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/supertux/0001-fix-gcc11-build.patch
>
> diff --git a/package/supertux/0001-fix-gcc11-build.patch b/package/supertux/0001-fix-gcc11-build.patch
> new file mode 100644
> index 0000000000..d5ada531c6
> --- /dev/null
> +++ b/package/supertux/0001-fix-gcc11-build.patch
> @@ -0,0 +1,33 @@
> +From 81809dd5e6f611b1d64d952f6d96310bcc9c5fca Mon Sep 17 00:00:00 2001
> +From: Semphris <semphris@protonmail.com>
> +Date: Fri, 17 Jun 2022 12:36:26 -0400
> +Subject: [PATCH] Fix problem with GCC 11 and Partio's ZIP manager (missing
> + #include <memory>)
> +
> +Closes #2219 on GitHub. Same fix, but puts the include closer to the copyright header.
> +
> +Upstream: https://github.com/SuperTux/supertux/commit/81809dd5e6f611b1d64d952f6d96310bcc9c5fca
> +Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> +---
> + external/partio_zip/zip_manager.hpp | 8 ++++++--
> + 1 file changed, 6 insertions(+), 2 deletions(-)
> +
> +diff --git a/external/partio_zip/zip_manager.hpp b/external/partio_zip/zip_manager.hpp
> +index 666884dda53..245303c76be 100644
> +--- a/external/partio_zip/zip_manager.hpp
> ++++ b/external/partio_zip/zip_manager.hpp
> +@@ -1,8 +1,12 @@
> + // SOURCE: https://github.com/wdas/partio/blob/main/src/lib/io/ZIP.h
> ++// NOTE: This file was edited for purposes of compatibility with SuperTux.
> +
> +-/*
> ++// This include has been added to fix a problem with GCC 11+ (and maybe 10)
> ++#include <memory>
> ++
> ++// =============================================================================
> +
> +-NOTE: This file was edited for purposes of compatibility with SuperTux.
> ++/*
> +
> + PARTIO SOFTWARE
> + Copyright 2010 Disney Enterprises, Inc. All rights reserved
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11
2026-04-07 12:34 [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11 Michael Nosthoff via buildroot
2026-05-17 21:42 ` Romain Naour via buildroot
@ 2026-05-29 8:30 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-05-29 8:30 UTC (permalink / raw)
To: Michael Nosthoff; +Cc: Thomas Perale, buildroot
In reply of:
> Fixes:
> "missing #include <memory>" when building with GCC > 11.
>
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
>
Applied to 2025.02.x & 2026.02.x. Thanks
> ---
> V2: add "Upstream" to patch
>
> ---
> package/supertux/0001-fix-gcc11-build.patch | 33 +++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/supertux/0001-fix-gcc11-build.patch
>
> diff --git a/package/supertux/0001-fix-gcc11-build.patch b/package/supertux/0001-fix-gcc11-build.patch
> new file mode 100644
> index 0000000000..d5ada531c6
> --- /dev/null
> +++ b/package/supertux/0001-fix-gcc11-build.patch
> @@ -0,0 +1,33 @@
> +From 81809dd5e6f611b1d64d952f6d96310bcc9c5fca Mon Sep 17 00:00:00 2001
> +From: Semphris <semphris@protonmail.com>
> +Date: Fri, 17 Jun 2022 12:36:26 -0400
> +Subject: [PATCH] Fix problem with GCC 11 and Partio's ZIP manager (missing
> + #include <memory>)
> +
> +Closes #2219 on GitHub. Same fix, but puts the include closer to the copyright header.
> +
> +Upstream: https://github.com/SuperTux/supertux/commit/81809dd5e6f611b1d64d952f6d96310bcc9c5fca
> +Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> +---
> + external/partio_zip/zip_manager.hpp | 8 ++++++--
> + 1 file changed, 6 insertions(+), 2 deletions(-)
> +
> +diff --git a/external/partio_zip/zip_manager.hpp b/external/partio_zip/zip_manager.hpp
> +index 666884dda53..245303c76be 100644
> +--- a/external/partio_zip/zip_manager.hpp
> ++++ b/external/partio_zip/zip_manager.hpp
> +@@ -1,8 +1,12 @@
> + // SOURCE: https://github.com/wdas/partio/blob/main/src/lib/io/ZIP.h
> ++// NOTE: This file was edited for purposes of compatibility with SuperTux.
> +
> +-/*
> ++// This include has been added to fix a problem with GCC 11+ (and maybe 10)
> ++#include <memory>
> ++
> ++// =============================================================================
> +
> +-NOTE: This file was edited for purposes of compatibility with SuperTux.
> ++/*
> +
> + PARTIO SOFTWARE
> + Copyright 2010 Disney Enterprises, Inc. All rights reserved
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-29 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 12:34 [Buildroot] [PATCH v2] package/supertux: fix build with gcc > 11 Michael Nosthoff via buildroot
2026-05-17 21:42 ` Romain Naour via buildroot
2026-05-29 8:30 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox