From patchwork Sat Jul 17 22:08:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1506528 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=Cz41CQKp; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GS2LG55twz9sWc for ; Sun, 18 Jul 2021 08:08:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 83B1F605CA; Sat, 17 Jul 2021 22:08:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NCWPjd409-RZ; Sat, 17 Jul 2021 22:08:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id D5981605D0; Sat, 17 Jul 2021 22:08:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 780461BF487 for ; Sat, 17 Jul 2021 22:08:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 749468344C for ; Sat, 17 Jul 2021 22:08:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aQm_SyiQbvGC for ; Sat, 17 Jul 2021 22:08:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2CFD1831DA for ; Sat, 17 Jul 2021 22:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1626559691; bh=97A2cpjJUHvMFf3SiMOPYhTAPRe1IYzViRgCHHA3Now=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Cz41CQKpZeoIFzW9bkq4YOvK2JNzf6H5BW626IrFHLvUy+V7Bu8hIGUkFjhW4uDub eZOxqcyv2PcIg1iAPnUpaH3o7o0ZJ3huDEOUakBhFEu598HC3JjUZ/zYMQbUGcKUlb Wg6XaFQiYNRA1ouR/BcP/iujgW1hWSh1wzpA8EIM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.fritz.box ([62.216.209.215]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MsHs0-1lFoG115uk-00tmv6; Sun, 18 Jul 2021 00:08:11 +0200 From: Peter Seiderer To: buildroot@buildroot.org Date: Sun, 18 Jul 2021 00:08:09 +0200 Message-Id: <20210717220809.8654-1-ps.report@gmx.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:Ys9Xw58GogSht9R1t+DdUatzWAbWudZwo2gxj78o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zKneHLL0WGwPZrwyW13+Hn/k44RIIjLcG0P+M7CpbqdEIowin eP/ZK0mNFOukw8FfBXS5NIv3fevpEaEbdjfmJSZsbC5oQb+1Rf2GhDqPPzx8WBZARv6BP8IhZ IU7mePeIudoNAENRYB8P1Zw4bTkATWi+Z+LbCMSf1f6fWzD2ALitMFh/qS+GBb2X5p+FfeO1w GhwzbEQvZcZPOU13tnxt/1liHCjHaxzhIA6dVA18Sckh2wZTwBAPTd+w1rXSNis3PQo2VVUKP Inzf9+GRzzNXIJi5u7ORw8LfvPs+5o3Sk7d Subject: [Buildroot] [PATCH v1] package/qt5base: fix another gcc-11 compile failure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Julien Corjon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - add upstream patch fixing gcc-11 compile failure (missing limits include) Fixes: In file included from ../../../include/QtCore/5.15.2/QtCore/private/qoffsetstringarray_p.h:1, from ../../dbus/qdbuserror.cpp:44: ../../../src/corelib/tools/qoffsetstringarray_p.h:70:22: error: ‘numeric_limits’ is not a member of ‘std’ 70 | Last <= std::numeric_limits::max(), | ^~~~~~~~~~~~~~ ../../../src/corelib/tools/qoffsetstringarray_p.h:70:43: error: wrong number of template arguments (1, should be 3) 70 | Last <= std::numeric_limits::max(), | ^ Signed-off-by: Peter Seiderer --- .../0008-Add-missing-limits-include.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/qt5/qt5base/0008-Add-missing-limits-include.patch diff --git a/package/qt5/qt5base/0008-Add-missing-limits-include.patch b/package/qt5/qt5base/0008-Add-missing-limits-include.patch new file mode 100644 index 0000000000..e489f2e551 --- /dev/null +++ b/package/qt5/qt5base/0008-Add-missing-limits-include.patch @@ -0,0 +1,32 @@ +From 87a869a8404047240cccaa9f101351aeb9417a26 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella +Date: Sun, 20 Jun 2021 17:36:41 +0200 +Subject: [PATCH] Add missing limits include + +The code uses std::numeric_limits but is lacking the appropriate include + +Pick-to: 5.15 6.1 6.2 +Change-Id: I41fa5ac4d8c4e06f35b5b1551ef2ad8417df80bd +Reviewed-by: Giuseppe D'Angelo + +[Upstream: https://code.qt.io/cgit/qt/qtbase.git/patch/?id=2b2b3155d9f6ba1e4f859741468fbc47db09292b] +Signed-off-by: Peter Seiderer +--- + src/corelib/tools/qoffsetstringarray_p.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h +index 4dd9e960..e26a57ff 100644 +--- a/src/corelib/tools/qoffsetstringarray_p.h ++++ b/src/corelib/tools/qoffsetstringarray_p.h +@@ -55,6 +55,7 @@ + + #include + #include ++#include + + QT_BEGIN_NAMESPACE + +-- +2.32.0 +