diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-02-06 17:58:07 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-01 17:05:50 -0500 |
commit | 572cfb17fe334feda1b2463fbb228fb61ee58263 (patch) | |
tree | dc24d8ab2806b2236803537714f82e98d4c9dc29 /system/m4/localename-test-fix.patch | |
parent | 2996ebf8ce3b28c6a83dd9900cd83efc7909a68e (diff) | |
download | packages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.gz packages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.bz2 packages-572cfb17fe334feda1b2463fbb228fb61ee58263.tar.xz packages-572cfb17fe334feda1b2463fbb228fb61ee58263.zip |
system/m4: Update to 1.4.19
Diffstat (limited to 'system/m4/localename-test-fix.patch')
-rw-r--r-- | system/m4/localename-test-fix.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/system/m4/localename-test-fix.patch b/system/m4/localename-test-fix.patch deleted file mode 100644 index 04584aba6..000000000 --- a/system/m4/localename-test-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- m4-1.4.18/tests/localename.c.old 2016-12-31 13:54:43.000000000 +0000 -+++ m4-1.4.18/tests/localename.c 2017-07-30 16:40:47.098541270 +0000 -@@ -40,7 +40,7 @@ - # if defined __APPLE__ && defined __MACH__ - # include <xlocale.h> - # endif --# if __GLIBC__ >= 2 && !defined __UCLIBC__ -+# if defined __linux__ - # include <langinfo.h> - # endif - # if !defined IN_LIBINTL -@@ -2692,16 +2692,19 @@ - locale_t thread_locale = uselocale (NULL); - if (thread_locale != LC_GLOBAL_LOCALE) - { --# if __GLIBC__ >= 2 && !defined __UCLIBC__ -+# if defined(_NL_LOCALE_NAME) -+ const char *name = nl_langinfo(_NL_LOCALE_NAME(category)); -+# if __GLIBC__ >= 2 && !defined __UCLIBC__ - /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in - glibc < 2.12. - See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ -- const char *name = -- nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); -+ if (name[0] == '\0') -+ name = nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); - if (name[0] == '\0') - /* Fallback code for glibc < 2.4, which did not implement - nl_langinfo (_NL_LOCALE_NAME (category)). */ - name = thread_locale->__names[category]; -+# endif - return name; - # elif defined __FreeBSD__ || (defined __APPLE__ && defined __MACH__) - /* FreeBSD, Mac OS X */ |