aboutsummaryrefslogtreecommitdiffstats
path: root/testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch')
-rw-r--r--testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch b/testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch
new file mode 100644
index 0000000000..aa7981825c
--- /dev/null
+++ b/testing/picolibc/a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb.patch
@@ -0,0 +1,40 @@
+From a8ae5ad10df0b14c0b5ab34d7b67d25ede317bdb Mon Sep 17 00:00:00 2001
+From: Yasushi SHOJI <yashi@spacecubics.com>
+Date: Wed, 26 Jan 2022 14:53:56 +0900
+Subject: [PATCH] meson.build: Fix description keyword in configuration set()
+
+There are two typo for the keyword 'description' for config data set()
+in meson.build.
+
+Meson 0.61 doesn't warn about this but a post v0.61 with the
+commit mesonbuild/meson/commit/574525673f6 will error out with:
+
+ meson.build:737:10: ERROR: configuration_data.set got unknown
+ keyword arguments "descrption"
+
+This is reported by @tcal-x.
+
+Closes #244.
+
+Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
+---
+ meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index f0d4c7c312..4f1c4ef2a9 100644
+--- a/meson.build
++++ b/meson.build
+@@ -736,10 +736,10 @@ conf_data.set('HAVE_BUILTIN_EXPECT', have_builtin_expect, description: 'Compiler
+ conf_data.set('HAVE_ALLOC_SIZE', have_alloc_size, description: 'The compiler REALLY has the attribute __alloc_size__')
+ conf_data.set('_HAVE_ATTRIBUTE_ALWAYS_INLINE',
+ cc.has_function_attribute('always_inline'),
+- descrption: 'The compiler supports the always_inline function attribute')
++ description: 'The compiler supports the always_inline function attribute')
+ conf_data.set('_HAVE_ATTRIBUTE_GNU_INLINE',
+ cc.has_function_attribute('gnu_inline'),
+- descrption: 'The compiler supports the gnu_inline function attribute')
++ description: 'The compiler supports the gnu_inline function attribute')
+
+ # Obsolete newlib options
+ conf_data.set('_WANT_USE_LONG_TIME_T', get_option('newlib-long-time_t'), description: 'Obsoleted. Define time_t to long instead of using a 64-bit type')