diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-06-02 12:45:28 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-06-05 06:52:39 -0700 |
commit | 9991720b9967ee803bea600a355410878569c843 (patch) | |
tree | 39f9f9d8a56c2332605d98a52c300789b92c5598 /recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch | |
parent | 61f0980015f29d6050d6d44b8029b757978b51d6 (diff) |
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 <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch')
-rw-r--r-- | recipes/gettext/gettext-0.18/gnulib-uclibc-sched_param-def.patch | 19 |
1 files changed, 19 insertions, 0 deletions
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 <sched.h> + # include <signal.h> + #endif |