Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (1f42fbc1283759d891b1f6704d4ac546b019e9f4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (1f42fbc1283759d891b1f6704d4ac546b019e9f4)
  • Date: Wed, 9 Nov 2022 20:16:39 +0000

GIT changes to master games grimoire by Ismael Luceno <ismael AT sourcemage.org>:

games-arcade-2d/supertux/HISTORY | 4 +
games-arcade-2d/supertux/PRE_BUILD | 3 +
games-arcade-2d/supertux/patches/0001-Fix-missing-includes.patch | 26
++++++++++
3 files changed, 33 insertions(+)

New commits:
commit 1f42fbc1283759d891b1f6704d4ac546b019e9f4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

supertux: Fix build against GCC 12.x+

diff --git a/games-arcade-2d/supertux/HISTORY
b/games-arcade-2d/supertux/HISTORY
index 70f1e45..547867a 100644
--- a/games-arcade-2d/supertux/HISTORY
+++ b/games-arcade-2d/supertux/HISTORY
@@ -1,3 +1,7 @@
+2022-11-09 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, patches/0001-Fix-missing-includes.patch:
+ fixed build against GCC 12.x+
+
2021-12-30 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 0.6.3

diff --git a/games-arcade-2d/supertux/PRE_BUILD
b/games-arcade-2d/supertux/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/games-arcade-2d/supertux/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git a/games-arcade-2d/supertux/patches/0001-Fix-missing-includes.patch
b/games-arcade-2d/supertux/patches/0001-Fix-missing-includes.patch
new file mode 100644
index 0000000..4b13fd4
--- /dev/null
+++ b/games-arcade-2d/supertux/patches/0001-Fix-missing-includes.patch
@@ -0,0 +1,26 @@
+From fdef2b7de0abe9247aa31caef3f91967dfcb6a68 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Subject: [PATCH] Fix missing includes
+Date: Wed, 20 Jul 2022 13:55:15 +0200
+
+* external/partio_zip/zip_manager.hpp
+ + <memory> for std::unique_ptr
+
+---
+ 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 666884dda53f..5cc6ff8fed73 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 <string>
+ #include <stdexcept>
+ #include <vector>
++#include <memory>
+
+ namespace Partio{
+ struct ZipFileHeader;
+--
+2.36.0



  • [SM-Commit] GIT changes to master games grimoire by Ismael Luceno (1f42fbc1283759d891b1f6704d4ac546b019e9f4), Ismael Luceno, 11/09/2022

Archive powered by MHonArc 2.6.24.

Top of Page