From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/uclibc: restore __isctype_l definition
Date: Tue, 10 Mar 2020 23:20:05 +0100 [thread overview]
Message-ID: <87eetzn97u.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20200209200937.25440-1-jcmvbkbc@gmail.com> (Max Filippov's message of "Sun, 9 Feb 2020 12:09:37 -0800")
>>>>> "Max" == Max Filippov <jcmvbkbc@gmail.com> writes:
> Recent is*_l fix broke uclibc build because removed __isctype_l
> definition was used in libc/misc/ctype/ctype.c. Restore it.
> Fixes: 8723c5e7a6db ("package/uclibc: fix ctype.h is*_l definitions")
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Committed to 2019.11.x, thanks.
> ---
> .../0001-include-ctype.h-drop-is-_l-macro-definitions.patch | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> diff --git a/package/uclibc/0001-include-ctype.h-drop-is-_l-macro-definitions.patch b/package/uclibc/0001-include-ctype.h-drop-is-_l-macro-definitions.patch
> index 5557a9c1e730..41c9d3d2bd81 100644
> --- a/package/uclibc/0001-include-ctype.h-drop-is-_l-macro-definitions.patch
> +++ b/package/uclibc/0001-include-ctype.h-drop-is-_l-macro-definitions.patch
> @@ -20,7 +20,7 @@ diff --git a/include/ctype.h b/include/ctype.h
> index ecd5e730886a..e934cf3321a6 100644
> --- a/include/ctype.h
> +++ b/include/ctype.h
> -@@ -350,46 +350,13 @@ libc_hidden_proto(tolower_l)
> +@@ -350,46 +350,14 @@ libc_hidden_proto(tolower_l)
> /* Return the uppercase version of C. */
> extern int toupper_l (int __c, __locale_t __l) __THROW;
> @@ -30,7 +30,7 @@ index ecd5e730886a..e934cf3321a6 100644
> -# endif /* Optimizing gcc */
> -
> -
> --# define __isctype_l(c, type, locale) ((locale)->__ctype_b[(int) (c)] & (__ctype_mask_t) type)
> + # define __isctype_l(c, type, locale) ((locale)->__ctype_b[(int) (c)] & (__ctype_mask_t) type)
> # ifndef __NO_CTYPE
> -# define __isalnum_l(c,l) __isctype_l((c), _ISalnum, (l))
> -# define __isalpha_l(c,l) __isctype_l((c), _ISalpha, (l))
> --
> 2.20.1
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2020-03-10 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-09 20:09 [Buildroot] [PATCH] package/uclibc: restore __isctype_l definition Max Filippov
2020-02-09 21:34 ` Yann E. MORIN
2020-03-10 22:20 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eetzn97u.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox