From 9991720b9967ee803bea600a355410878569c843 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 2 Jun 2010 12:45:28 -0700 Subject: gettext-0.18: Add recipe for 0.18 * gl_cv_func_unsetenv_works is not computed correctly in cross environment so cache it. Signed-off-by: Khem Raj Acked-by: Martin Jansa --- .../gettext-0.18/gnulib-uclibc-sched_param-def.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch (limited to 'recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch') diff --git a/recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch b/recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch new file mode 100644 index 0000000000..074723a8e1 --- /dev/null +++ b/recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch @@ -0,0 +1,19 @@ +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 + +Index: gettext-0.18/gettext-tools/gnulib-lib/spawn.in.h +=================================================================== +--- gettext-0.18.orig/gettext-tools/gnulib-lib/spawn.in.h 2010-06-01 17:20:09.036427575 -0700 ++++ gettext-0.18/gettext-tools/gnulib-lib/spawn.in.h 2010-06-01 17:20:38.856613943 -0700 +@@ -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 -- cgit v1.2.3