fix gettext compile with the new uclibc
[openwrt/svn-archive/archive.git] / libs / gettext / patches / 100-error_progname.patch
1 Index: gettext-0.16.1/gettext-runtime/intl/intl-compat.c
2 ===================================================================
3 --- gettext-0.16.1.orig/gettext-runtime/intl/intl-compat.c 2007-12-29 22:51:09.363903016 +0100
4 +++ gettext-0.16.1/gettext-runtime/intl/intl-compat.c 2007-12-29 22:51:14.048169957 +0100
5 @@ -131,3 +131,7 @@
6 {
7 return libintl_bind_textdomain_codeset (domainname, codeset);
8 }
9 +
10 +#ifdef __UCLIBC__
11 +DLL_EXPORTED void (*error_print_progname)(void) = NULL;
12 +#endif