gettext: Fix build with uclibc remove upstreamed patches
authorKhem Raj <raj.khem@gmail.com>
Thu, 24 Jan 2013 21:07:23 +0000 (13:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Jan 2013 13:53:34 +0000 (13:53 +0000)
uclibc specific patches are not needed now as they are
available in 0.18.2 gettext now

(From OE-Core rev: ab692ed618f83df2ce452769165314e70b867345)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/gettext/gettext-0.18.2/gnulib-uclibc-sched_param-def.patch [deleted file]
meta/recipes-core/gettext/gettext-0.18.2/wchar-uclibc.patch [deleted file]
meta/recipes-core/gettext/gettext_0.18.2.bb

diff --git a/meta/recipes-core/gettext/gettext-0.18.2/gnulib-uclibc-sched_param-def.patch b/meta/recipes-core/gettext/gettext-0.18.2/gnulib-uclibc-sched_param-def.patch
deleted file mode 100644 (file)
index d8d10db..0000000
+++ /dev/null
@@ -1,21 +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
-
-Upstream-Status: Pending
-
-Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/spawn.in.h
-===================================================================
---- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/spawn.in.h
-+++ gettext-0.18.1.1/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 <sched.h>
- # include <signal.h>
- #endif
diff --git a/meta/recipes-core/gettext/gettext-0.18.2/wchar-uclibc.patch b/meta/recipes-core/gettext/gettext-0.18.2/wchar-uclibc.patch
deleted file mode 100644 (file)
index 34e3f1a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-Upstream-Status: Pending
-
-Index: gettext-0.18.1.1/gettext-runtime/gnulib-lib/wchar.in.h
-===================================================================
---- gettext-0.18.1.1.orig/gettext-runtime/gnulib-lib/wchar.in.h        2010-05-08 18:36:16.000000000 -0700
-+++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/wchar.in.h     2011-05-25 16:28:38.656220937 -0700
-@@ -48,6 +48,14 @@
- #else
- /* Normal invocation convention.  */
-+#ifdef __need_mbstate_t
-+/* Special invocation convention inside uClibc header files.  */
-+
-+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
-+
-+#else
-+/* Normal invocation convention.  */
-+
- #ifndef _GL_WCHAR_H
- #define _GL_ALREADY_INCLUDING_WCHAR_H
-@@ -426,3 +434,4 @@
- #endif /* _GL_WCHAR_H */
- #endif /* _GL_WCHAR_H */
- #endif
-+#endif
-Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/wchar.in.h
-===================================================================
---- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/wchar.in.h  2010-05-24 02:42:48.000000000 -0700
-+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/wchar.in.h       2011-05-25 16:28:15.717360791 -0700
-@@ -48,6 +48,14 @@
- #else
- /* Normal invocation convention.  */
-+#ifdef __need_mbstate_t
-+/* Special invocation convention inside uClibc header files.  */
-+
-+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
-+
-+#else
-+/* Normal invocation convention.  */
-+
- #ifndef _GL_WCHAR_H
- #define _GL_ALREADY_INCLUDING_WCHAR_H
-@@ -426,3 +434,4 @@
- #endif /* _GL_WCHAR_H */
- #endif /* _GL_WCHAR_H */
- #endif
-+#endif
-Index: gettext-0.18.1.1/gettext-tools/libgettextpo/wchar.in.h
-===================================================================
---- gettext-0.18.1.1.orig/gettext-tools/libgettextpo/wchar.in.h        2010-05-08 18:38:04.000000000 -0700
-+++ gettext-0.18.1.1/gettext-tools/libgettextpo/wchar.in.h     2011-05-25 16:28:26.998721087 -0700
-@@ -48,6 +48,14 @@
- #else
- /* Normal invocation convention.  */
-+#ifdef __need_mbstate_t
-+/* Special invocation convention inside uClibc header files.  */
-+
-+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
-+
-+#else
-+/* Normal invocation convention.  */
-+
- #ifndef _GL_WCHAR_H
- #define _GL_ALREADY_INCLUDING_WCHAR_H
-@@ -426,3 +434,4 @@
- #endif /* _GL_WCHAR_H */
- #endif /* _GL_WCHAR_H */
- #endif
-+#endif
index 3e93089..086f7fa 100644 (file)
@@ -15,9 +15,6 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
           file://parallel.patch \
           "
 
-SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
-                               file://gnulib-uclibc-sched_param-def.patch \
-                             "
 LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread "
 
 SRC_URI[md5sum] = "0c86e5af70c195ab8bd651d17d783928"