* [gentoo-commits] gentoo-x86 commit in sys-devel/gettext/files: gettext-0.18.1.1-uclibc-sched_param-def.patch
@ 2011-09-07 2:28 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-09-07 2:28 UTC (permalink / raw
To: gentoo-commits
vapier 11/09/07 02:28:56
Added: gettext-0.18.1.1-uclibc-sched_param-def.patch
Log:
Add gnulib sched fix from upstream for uClibc builds #323377 by Maksim Melnikau. Add elibtoolize for cross-compiling peeps #260794 by Andrei Slavoiu.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-devel/gettext/files/gettext-0.18.1.1-uclibc-sched_param-def.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/files/gettext-0.18.1.1-uclibc-sched_param-def.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/files/gettext-0.18.1.1-uclibc-sched_param-def.patch?rev=1.1&content-type=text/plain
Index: gettext-0.18.1.1-uclibc-sched_param-def.patch
===================================================================
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
http://bugs.gentoo.org/336484
http://bugs.gentoo.org/323377
--- gettext/gettext-tools/gnulib-lib/spawn.in.h
+++ gettext/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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-07 2:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 2:28 [gentoo-commits] gentoo-x86 commit in sys-devel/gettext/files: gettext-0.18.1.1-uclibc-sched_param-def.patch Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox