diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-15 17:54:27 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-15 17:54:27 -0500 |
commit | 5ff582a331131c9e273d3c9ab8c6c1803e8d18b6 (patch) | |
tree | b7d45cc4b7cb15ffe29947df442fe391fda017ff /system/coreutils/localename-test-fix.patch | |
parent | 0931dec975ad6c299dbd0f27636b36dc0849b0a8 (diff) | |
download | packages-5ff582a331131c9e273d3c9ab8c6c1803e8d18b6.tar.gz packages-5ff582a331131c9e273d3c9ab8c6c1803e8d18b6.tar.bz2 packages-5ff582a331131c9e273d3c9ab8c6c1803e8d18b6.tar.xz packages-5ff582a331131c9e273d3c9ab8c6c1803e8d18b6.zip |
system/coreutils: [PD] fix, bump to 8.29, single-binary, utmps
Diffstat (limited to 'system/coreutils/localename-test-fix.patch')
-rw-r--r-- | system/coreutils/localename-test-fix.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/coreutils/localename-test-fix.patch b/system/coreutils/localename-test-fix.patch index f90d11866..9907eb67a 100644 --- a/system/coreutils/localename-test-fix.patch +++ b/system/coreutils/localename-test-fix.patch @@ -19,7 +19,7 @@ +# 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>. */ + See <https://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ - const char *name = - nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); + if (name[0] == '\0') @@ -30,5 +30,5 @@ name = thread_locale->__names[category]; +# endif return name; - # elif defined __FreeBSD__ || (defined __APPLE__ && defined __MACH__) + # elif (defined __FreeBSD__ || defined __DragonFly__) || (defined __APPLE__ && defined __MACH__) /* FreeBSD, Mac OS X */ |