From patchwork Fri Aug 14 22:00:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1345217 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=I6TbWoU8; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BSy7G2rhpz9sTK for ; Sat, 15 Aug 2020 08:00:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DEA39877C4; Fri, 14 Aug 2020 22:00:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9l8vxUFb_lCj; Fri, 14 Aug 2020 22:00:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 61A1187898; Fri, 14 Aug 2020 22:00:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5D6561BF573 for ; Fri, 14 Aug 2020 22:00:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 59DA687895 for ; Fri, 14 Aug 2020 22:00:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TcEBRn5g3ZNX for ; Fri, 14 Aug 2020 22:00:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B261A8788F for ; Fri, 14 Aug 2020 22:00:50 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id g8so8609629wmk.3 for ; Fri, 14 Aug 2020 15:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YLea9tyq+DndjJF3bpIaTEdJmWsVmX6s9DqkvJDbnH8=; b=I6TbWoU8JPuKzlqxM3wqVgnpzit3cbjonbI/KxFapR+N9qOKh9B8DjxCYlVfM25Fqk HhN6DhF9HviVNGrdN5vhj9X6GPFoq0CDCGsAx9oZXOgTffQeDAUXnVGr0xZICewXNTkg tP+38PZUexhL+qmRhpmq6BnrL2rvoG8jeLLMULd+8eiJPsSx2ygQ9/WQDDUeVL9DmhoG 9GKbv5Oz1AKT4xSge/CsQxlxwDnSqiAHrCRJPFGf6t2rL/6kna4Q2o0hSFt/KvfEK+X7 338R+h3nbB9wQyGdOLP9wp3YNnqgGAwWapqOKuHZ9AOXZRi+42h4esiGJP0uoj0LGjQb Oumg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YLea9tyq+DndjJF3bpIaTEdJmWsVmX6s9DqkvJDbnH8=; b=hTZdTyusy9hqQzWLDNleO6WMWab5n2mSQVQX/xqL6dH03J1O1pWMi7ZAJaUUx/pSa/ +/U2gnqH60dlXHj+3inAlUXmsJc9Gi/t6tf3S9n3ljf/rk0QIDGgSieIRfHgQWIQ+FTj EpwYmxIquk4rSOZpd9daZpsdwmSyPlyfhV8rv5TpX9bVUgMo3rCYDwWMJxP2EAQyFryZ PuZixsOdkVQHqlAfMMUQjg2AhN3U8OSwa0HeYmekokXLg0NRuxSFYfeIlTYOcqjiNkRd ig/JPxogOEQTWSX+SzkNaMm/m+IIKx5zSzLHsMgafpb4vTrhmF/IDy7O7AToPmSuBuAt HKkQ== X-Gm-Message-State: AOAM532KL61P58aFC2sHVI7S15HhlxVbVMhiyggoflCHzGbMM7WoH/He 9FumZu5lyelNLnCw6dvqt1OTZ6G8mWw= X-Google-Smtp-Source: ABdhPJxqm71NFSwQdZaK6Q9earhwrQEwgPr5fhN5X6A4QoNg+vRPyYrqHT/TgxFbuHhiGTMU9ZRJPQ== X-Received: by 2002:a1c:678b:: with SMTP id b133mr4509412wmc.117.1597442448659; Fri, 14 Aug 2020 15:00:48 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id e5sm19246249wrc.37.2020.08.14.15.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 15:00:47 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 15 Aug 2020 00:00:46 +0200 Message-Id: <20200814220046.1956454-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/kmsxx: fix build with gcc 10 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: Maxime Ripard , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/7777cd9496e8f8cdb093c3f82c550eebedda0b5d Signed-off-by: Fabrice Fontaine --- ...0001-fix-compiler-errors-with-gcc-10.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch diff --git a/package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch b/package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch new file mode 100644 index 0000000000..6ec080af97 --- /dev/null +++ b/package/kmsxx/0001-fix-compiler-errors-with-gcc-10.patch @@ -0,0 +1,35 @@ +From aa54634ce7cbbfc844de945e73a9f34cdcb9bb12 Mon Sep 17 00:00:00 2001 +From: Peter Trompeter +Date: Fri, 15 May 2020 15:20:47 +0200 +Subject: [PATCH] fix compiler errors with gcc 10 + +[Retrieved from: +https://github.com/tomba/kmsxx/commit/aa54634ce7cbbfc844de945e73a9f34cdcb9bb12] +Signed-off-by: Fabrice Fontaine +--- + kms++/inc/kms++/pixelformats.h | 1 + + kms++util/src/opts.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/kms++/inc/kms++/pixelformats.h b/kms++/inc/kms++/pixelformats.h +index 784717d..4e73d5d 100644 +--- a/kms++/inc/kms++/pixelformats.h ++++ b/kms++/inc/kms++/pixelformats.h +@@ -2,6 +2,7 @@ + + #include + #include ++#include + + namespace kms + { +diff --git a/kms++util/src/opts.cpp b/kms++util/src/opts.cpp +index afef452..5a14b84 100644 +--- a/kms++util/src/opts.cpp ++++ b/kms++util/src/opts.cpp +@@ -1,4 +1,5 @@ + #include ++#include + + #include + #include