From: Felix Fietkau Date: Sat, 29 Dec 2007 21:57:53 +0000 (+0000) Subject: fix gettext compile with the new uclibc X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=5f25e8aa3b93123989dd57950cdc381583634ca6;ds=sidebyside fix gettext compile with the new uclibc SVN-Revision: 10033 --- diff --git a/libs/gettext/patches/100-error_progname.patch b/libs/gettext/patches/100-error_progname.patch new file mode 100644 index 0000000000..42a57908ee --- /dev/null +++ b/libs/gettext/patches/100-error_progname.patch @@ -0,0 +1,12 @@ +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