From patchwork Wed Jul 29 18:16:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1338457 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BH1wN3xrfz9sRN for ; Thu, 30 Jul 2020 04:17:07 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 77707888FD; Wed, 29 Jul 2020 18:17:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uZF1EIcY1ZOA; Wed, 29 Jul 2020 18:17:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 958FC888EE; Wed, 29 Jul 2020 18:17:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5E3BC1BF86C for ; Wed, 29 Jul 2020 18:16:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3CE0C23B9B for ; Wed, 29 Jul 2020 18:16:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dIB1EL1FyK37 for ; Wed, 29 Jul 2020 18:16:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by silver.osuosl.org (Postfix) with ESMTPS id 94DB72344A for ; Wed, 29 Jul 2020 18:16:57 +0000 (UTC) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout12.t-online.de (Postfix) with SMTP id 171B041D93B3; Wed, 29 Jul 2020 20:16:55 +0200 (CEST) Received: from fli4l.lan.fli4l (E4sqS-ZCYhthjMGT6+6IjoZYepPS78YKF9ji2D+K4GyW+brRdKgb-e+OZNUlxfTQXW@[84.161.188.220]) by fwd24.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1k0qdH-3HgI1Q0; Wed, 29 Jul 2020 20:16:51 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:59218) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1k0qdG-0001Lp-2T; Wed, 29 Jul 2020 20:16:50 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 29 Jul 2020 20:16:50 +0200 Message-Id: <20200729181650.6949-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-ID: E4sqS-ZCYhthjMGT6+6IjoZYepPS78YKF9ji2D+K4GyW+brRdKgb-e+OZNUlxfTQXW X-TOI-EXPURGATEID: 150726::1596046611-00005513-06A20E1A/0/0 CLEAN NORMAL X-TOI-MSGID: fa2442ce-e509-4daf-82fb-66fceb376dec Subject: [Buildroot] [PATCH 1/1] package/wayland: fix build with toolchains without c++ 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: "Yann E . MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/fb2/fb205601cac2bbf8e70ec2bf4eaf22264d8edc96/ Signed-off-by: Bernd Kuhls --- .../0002-meson-do-not-check-for-c.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/wayland/0002-meson-do-not-check-for-c.patch diff --git a/package/wayland/0002-meson-do-not-check-for-c.patch b/package/wayland/0002-meson-do-not-check-for-c.patch new file mode 100644 index 0000000000..c5819bf477 --- /dev/null +++ b/package/wayland/0002-meson-do-not-check-for-c.patch @@ -0,0 +1,29 @@ +From 1df9b73db6541cbc483c6ee1b21dbe0cb6e5cbfa Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Wed, 29 Jul 2020 08:20:41 +0200 +Subject: [PATCH] meson: do not check for c++ + +Wayland does not need c++, fixes building with toolchains lacking c++. + +Backported from upstream PR: +https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/88 + +Signed-off-by: Bernd Kuhls +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index b67b101..e47a52d 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'wayland', 'c', 'cpp', ++ 'wayland', 'c', + version: '1.18.0', + license: 'MIT', + meson_version: '>= 0.47.0', +-- +2.27.0 +