mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-17 20:51:54 +02:00
qtdeclarative: Fix build with gcc11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From d99fda38487eee9a660101ce73c488680c485668 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 3 Mar 2021 07:26:21 -0800
|
||||
Subject: [PATCH] yarr: Include <limits> for numeric_limits
|
||||
|
||||
Fixes
|
||||
src/3rdparty/masm/yarr/Yarr.h:46:44: error: 'numeric_limits' is not a member of 'std'
|
||||
46 | static const unsigned offsetNoMatch = std::numeric_limits<unsigned>::max();
|
||||
| ^~~~~~~~~~~~~~
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/3rdparty/masm/yarr/Yarr.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/3rdparty/masm/yarr/Yarr.h b/src/3rdparty/masm/yarr/Yarr.h
|
||||
index ccf78f9880..cbb42c60d8 100644
|
||||
--- a/src/3rdparty/masm/yarr/Yarr.h
|
||||
+++ b/src/3rdparty/masm/yarr/Yarr.h
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
-#include <limits.h>
|
||||
+#include <limits>
|
||||
#include "YarrErrorCode.h"
|
||||
|
||||
namespace JSC { namespace Yarr {
|
||||
--
|
||||
2.30.1
|
||||
|
||||
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = " \
|
||||
# 5.15.meta-qt5.1
|
||||
SRC_URI += " \
|
||||
file://0001-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-locate-qmlca.patch \
|
||||
file://0001-yarr-Include-limits-for-numeric_limits.patch \
|
||||
"
|
||||
|
||||
LDFLAGS_append_riscv64 = " -pthread"
|
||||
|
||||
Reference in New Issue
Block a user