From 0fbc7e213d249f30a1ba66579ca9885751c63f39 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Mon, 10 Oct 2022 21:36:29 +0200 Subject: [PATCH] melonDS: fix build with gcc>=12 --- srcpkgs/melonDS/patches/fix-gcc12.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/melonDS/patches/fix-gcc12.patch diff --git a/srcpkgs/melonDS/patches/fix-gcc12.patch b/srcpkgs/melonDS/patches/fix-gcc12.patch new file mode 100644 index 00000000000..46daaa51e91 --- /dev/null +++ b/srcpkgs/melonDS/patches/fix-gcc12.patch @@ -0,0 +1,19 @@ +From 55355e1e7c82e9bccda9cfb72b65c64c6d8b208c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Trung=20L=C3=AA?= +Date: Thu, 24 Feb 2022 10:42:35 +1100 +Subject: [PATCH] Add utility lib to fix missing std::exchange error + +--- + src/interpreter.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/interpreter.h b/src/interpreter.h +index 72724ee..aac4916 100644 +--- a/src/teakra/src/interpreter.h ++++ b/src/teakra/src/interpreter.h +@@ -1,4 +1,5 @@ + #pragma once ++#include + #include + #include + #include