packages/libs/gettext/patches/100-error_progname.patch
nbd ea668f74d7 fix gettext compile with the new uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 21:57:53 +00:00

13 lines
487 B
Diff

Index: gettext-0.16.1/gettext-runtime/intl/intl-compat.c
===================================================================
--- gettext-0.16.1.orig/gettext-runtime/intl/intl-compat.c 2007-12-29 22:51:09.363903016 +0100
+++ gettext-0.16.1/gettext-runtime/intl/intl-compat.c 2007-12-29 22:51:14.048169957 +0100
@@ -131,3 +131,7 @@
{
return libintl_bind_textdomain_codeset (domainname, codeset);
}
+
+#ifdef __UCLIBC__
+DLL_EXPORTED void (*error_print_progname)(void) = NULL;
+#endif