From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Filippov Date: Sun, 9 Feb 2020 12:09:37 -0800 Subject: [Buildroot] [PATCH] package/uclibc: restore __isctype_l definition Message-ID: <20200209200937.25440-1-jcmvbkbc@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 --- .../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