mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
juce/projucer: Backport a fix for the compilation under recent GCC
This backport fixes this error: note: 'std::exchange' is defined in header '<utility>'; did you forget to '#include <utility>'? Note: The fix is on version >= 7.0.0 Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
96831e8b3f
commit
7fb028ebf0
@ -18,7 +18,8 @@ DEPENDS:append:libc-musl = " libexecinfo"
|
||||
SRCREV = "2f980209cc4091a4490bb1bafc5d530f16834e58"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
file://0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "6.1.6"
|
||||
|
||||
@ -0,0 +1,23 @@
|
||||
From 85822fcb87dd531d5e8ed1c8230c67bddb56f66d Mon Sep 17 00:00:00 2001
|
||||
From: reuk <reuk@users.noreply.github.com>
|
||||
Date: Wed, 6 Apr 2022 15:43:09 +0100
|
||||
Subject: [PATCH] StandardHeader: Include <utility> for GCC 12 compatibility
|
||||
|
||||
Upstream-Status: Backport [https://github.com/juce-framework/JUCE/commit/ce8aff22c31c4d932a8414bc6f6185381dc970db]
|
||||
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
|
||||
---
|
||||
modules/juce_core/system/juce_StandardHeader.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/modules/juce_core/system/juce_StandardHeader.h b/modules/juce_core/system/juce_StandardHeader.h
|
||||
index fe164cdd3..cda6bbe86 100644
|
||||
--- a/modules/juce_core/system/juce_StandardHeader.h
|
||||
+++ b/modules/juce_core/system/juce_StandardHeader.h
|
||||
@@ -64,6 +64,7 @@
|
||||
#include <typeindex>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
+#include <utility>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user