summaryrefslogtreecommitdiff
path: root/system/sed/localename-test-fix.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-18 05:03:20 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-18 05:04:33 -0500
commitce3e51c42b9988cc582d0c655c520dab1942f58e (patch)
treeb8cf132b580e83d11daccb57d6bad62c732739ec /system/sed/localename-test-fix.patch
parent9011b5b6f7414784cf1d0d2fd1ecfb8a5c8610e4 (diff)
downloadpackages-ce3e51c42b9988cc582d0c655c520dab1942f58e.tar.gz
packages-ce3e51c42b9988cc582d0c655c520dab1942f58e.tar.bz2
packages-ce3e51c42b9988cc582d0c655c520dab1942f58e.tar.xz
packages-ce3e51c42b9988cc582d0c655c520dab1942f58e.zip
system/sed: [PD] fix maintainer, bump to 4.5
Diffstat (limited to 'system/sed/localename-test-fix.patch')
-rw-r--r--system/sed/localename-test-fix.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/system/sed/localename-test-fix.patch b/system/sed/localename-test-fix.patch
deleted file mode 100644
index 8a5d68dde..000000000
--- a/system/sed/localename-test-fix.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- sed-4.4/gnulib-tests/localename.c.old 2016-12-31 13:54:43.000000000 +0000
-+++ sed-4.4/gnulib-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 */