From 252dc14702ff84a37188a7e90a6f2b615b098419 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 23 Apr 2013 10:29:49 +0000 Subject: gettext-full: updated to 0.18.2.1 Signed-off-by: Russell Senior git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36400 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../004-gnulib-uclibc-sched_param-def.patch | 17 ---------- .../patches/005-uclibc-0.9.30-compat.patch | 22 ------------- .../gettext-full/patches/160-eglibc_stdio.patch | 36 ---------------------- 3 files changed, 75 deletions(-) delete mode 100644 package/libs/gettext-full/patches/004-gnulib-uclibc-sched_param-def.patch delete mode 100644 package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch delete mode 100644 package/libs/gettext-full/patches/160-eglibc_stdio.patch (limited to 'package/libs/gettext-full/patches') diff --git a/package/libs/gettext-full/patches/004-gnulib-uclibc-sched_param-def.patch b/package/libs/gettext-full/patches/004-gnulib-uclibc-sched_param-def.patch deleted file mode 100644 index 051c3747f9..0000000000 --- a/package/libs/gettext-full/patches/004-gnulib-uclibc-sched_param-def.patch +++ /dev/null @@ -1,17 +0,0 @@ -uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc -and is not needed too per standard. gnulib attempts to use it but we have to account -for it because in this case uclibc does not behave like glibc. - --Khem - ---- a/gettext-tools/gnulib-lib/spawn.in.h -+++ b/gettext-tools/gnulib-lib/spawn.in.h -@@ -31,7 +31,7 @@ - - /* Get definitions of 'struct sched_param' and 'sigset_t'. - But avoid namespace pollution on glibc systems. */ --#ifndef __GLIBC__ -+#if !defined __GLIBC__ || defined __UCLIBC__ - # include - # include - #endif diff --git a/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch b/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch deleted file mode 100644 index dafa79c462..0000000000 --- a/package/libs/gettext-full/patches/005-uclibc-0.9.30-compat.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/gettext-runtime/intl/localename.c -+++ b/gettext-runtime/intl/localename.c -@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego - locale_t thread_locale = uselocale (NULL); - if (thread_locale != LC_GLOBAL_LOCALE) - { --# if __GLIBC__ >= 2 -+# if __GLIBC__ >= 2 && !defined __UCLIBC__ - /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in - glibc < 2.12. - See . */ ---- a/gettext-tools/gnulib-lib/localename.c -+++ b/gettext-tools/gnulib-lib/localename.c -@@ -2607,7 +2607,7 @@ gl_locale_name_thread_unsafe (int catego - locale_t thread_locale = uselocale (NULL); - if (thread_locale != LC_GLOBAL_LOCALE) - { --# if __GLIBC__ >= 2 -+# if __GLIBC__ >= 2 && !defined __UCLIBC__ - /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in - glibc < 2.12. - See . */ diff --git a/package/libs/gettext-full/patches/160-eglibc_stdio.patch b/package/libs/gettext-full/patches/160-eglibc_stdio.patch deleted file mode 100644 index a4c4f926dc..0000000000 --- a/package/libs/gettext-full/patches/160-eglibc_stdio.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/gettext-runtime/gnulib-lib/stdio.in.h -+++ b/gettext-runtime/gnulib-lib/stdio.in.h -@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ ---- a/gettext-tools/gnulib-lib/stdio.in.h -+++ b/gettext-tools/gnulib-lib/stdio.in.h -@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ ---- a/gettext-tools/libgettextpo/stdio.in.h -+++ b/gettext-tools/libgettextpo/stdio.in.h -@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ -- cgit v1.2.3