summaryrefslogtreecommitdiff
path: root/package/libs/gettext-full/patches/100-error_progname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/gettext-full/patches/100-error_progname.patch')
-rw-r--r--package/libs/gettext-full/patches/100-error_progname.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libs/gettext-full/patches/100-error_progname.patch b/package/libs/gettext-full/patches/100-error_progname.patch
new file mode 100644
index 0000000000..f414703d98
--- /dev/null
+++ b/package/libs/gettext-full/patches/100-error_progname.patch
@@ -0,0 +1,10 @@
+--- a/gettext-runtime/intl/intl-compat.c
++++ b/gettext-runtime/intl/intl-compat.c
+@@ -131,3 +131,7 @@ bind_textdomain_codeset (const char *dom
+ {
+ return libintl_bind_textdomain_codeset (domainname, codeset);
+ }
++
++#ifdef __UCLIBC__
++DLL_EXPORTED void (*error_print_progname)(void) = NULL;
++#endif