Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234789 Details for
Bug 323377
sys-devel/gettext-0.18.1: bundled gnulib doesn't cross compiles with uclibc targets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gettext uclibc nls patch
gettext-0.18.1-nls-uclibc.patch (text/plain), 1.89 KB, created by
Maksim 'max_posedon' Melnikau
on 2010-06-09 22:44:43 UTC
(
hide
)
Description:
gettext uclibc nls patch
Filename:
MIME Type:
Creator:
Maksim 'max_posedon' Melnikau
Created:
2010-06-09 22:44:43 UTC
Size:
1.89 KB
patch
obsolete
>--- gettext-tools/gnulib-lib/localename.c.old 2010-06-09 02:48:04.000000000 +0300 >+++ gettext-tools/gnulib-lib/localename.c 2010-06-09 02:48:31.000000000 +0300 >@@ -2613,10 +2613,12 @@ > See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ > const char *name = > nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); >+# ifndef __UCLIBC__ > if (name[0] == '\0') > /* Fallback code for glibc < 2.4, which did not implement > nl_langinfo (_NL_LOCALE_NAME (category)). */ > name = thread_locale->__names[category]; >+# endif > return name; > # endif > # if defined __APPLE__ && defined __MACH__ /* MacOS X */ >--- gettext-tools/gnulib-lib/execute.c.old 2010-06-09 02:42:21.000000000 +0300 >+++ gettext-tools/gnulib-lib/execute.c 2010-06-09 02:43:02.000000000 +0300 >@@ -44,6 +44,10 @@ > #else > > /* Unix API. */ >+# ifdef __UCLIBC__ >+# include <sched.h> >+# endif >+ > # include <spawn.h> > > #endif >--- gettext-tools/gnulib-lib/pipe.c.old 2010-06-09 02:49:03.000000000 +0300 >+++ gettext-tools/gnulib-lib/pipe.c 2010-06-09 02:49:34.000000000 +0300 >@@ -44,6 +44,10 @@ > #else > > /* Unix API. */ >+# ifdef __UCLIBC__ >+# include <sched.h> >+# endif >+ > # include <spawn.h> > > #endif >--- gettext-runtime/intl/localename.c.old 2010-06-09 02:58:00.000000000 +0300 >+++ gettext-runtime/intl/localename.c 2010-06-09 02:33:20.000000000 +0300 >@@ -2613,10 +2613,12 @@ > See <http://sourceware.org/bugzilla/show_bug.cgi?id=10968>. */ > const char *name = > nl_langinfo (_NL_ITEM ((category), _NL_ITEM_INDEX (-1))); >+# ifndef __UCLIBC__ > if (name[0] == '\0') > /* Fallback code for glibc < 2.4, which did not implement > nl_langinfo (_NL_LOCALE_NAME (category)). */ > name = thread_locale->__names[category]; >+# endif > return name; > # endif > # if defined __APPLE__ && defined __MACH__ /* MacOS X */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 323377
: 234789 |
234791
|
234793