Annotation of /trunk/gettext/patches/gettext-0.17-uclibc.patch
Parent Directory | Revision Log
Revision 459 -
(hide annotations)
(download)
Sat Feb 2 17:30:55 2008 UTC (16 years, 7 months ago) by niro
File size: 1303 byte(s)
Sat Feb 2 17:30:55 2008 UTC (16 years, 7 months ago) by niro
File size: 1303 byte(s)
-added uclibc patch
1 | niro | 459 | Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) |
2 | Date: 2007-12-28 | ||
3 | Initial Package Version: 0.16.1 | ||
4 | Upstream Status: Partially From Upstream | ||
5 | Origin: http://uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/package/gettext/gettext-error_print_progname.patch?rev=18866 | ||
6 | http://cvs.savannah.gnu.org/viewvc/gnulib/lib/error.h?root=gnulib&view=markup | ||
7 | Description: This patch fixes build problems with uClibc. uClibc does not | ||
8 | feature the error_print_progname() library function, so we make a dummy | ||
9 | function. | ||
10 | |||
11 | Also see: http://linuxfromscratch.org/pipermail/hlfs-dev/2007-July/003676.html | ||
12 | |||
13 | --- gettext-0.16.1.orig/gettext-tools/gnulib-lib/error.h 2006-11-27 18:14:50.000000000 +0100 | ||
14 | +++ gettext-0.16.1/gettext-tools/gnulib-lib/error.h 2007-06-20 13:29:32.000000000 +0200 | ||
15 | @@ -50,7 +50,10 @@ extern void error_at_line (int __status, | ||
16 | /* If NULL, error will flush stdout, then print on stderr the program | ||
17 | name, a colon and a space. Otherwise, error will call this | ||
18 | function without parameters instead. */ | ||
19 | -extern DLL_VARIABLE void (*error_print_progname) (void); | ||
20 | +#ifndef __UCLIBC__ | ||
21 | +extern DLL_VARIABLE | ||
22 | +#endif | ||
23 | +void (*error_print_progname) (void); | ||
24 | |||
25 | /* This variable is incremented each time `error' is called. */ | ||
26 | extern DLL_VARIABLE unsigned int error_message_count; |