aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2020-07-29 20:16:50 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-08-03 23:04:04 +0200
commit654b5d934a7cdab7deca16b374322236de08d472 (patch)
treef5602b6dc46771ff213f04ac66248eff08c9e945
parentd0f7b241d4619603adca32fd03d2687126e9e7e3 (diff)
downloadbuildroot-654b5d934a7cdab7deca16b374322236de08d472.tar.gz
buildroot-654b5d934a7cdab7deca16b374322236de08d472.tar.bz2
package/wayland: fix build with toolchains without c++
Fixes http://autobuild.buildroot.net/results/fb2/fb205601cac2bbf8e70ec2bf4eaf22264d8edc96/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wayland/0002-meson-do-not-check-for-c.patch29
1 files changed, 29 insertions, 0 deletions
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 <bernd.kuhls@t-online.de>
+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 <bernd.kuhls@t-online.de>
+---
+ 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
+