aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/gettext-full/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-06 14:49:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-06 14:49:16 +0000
commitb1e7072f5116aa77db5bb2e079b31cebd4a50ce0 (patch)
tree526c6e0761a8decada1fe187fbd4e835e0c0959e /package/libs/gettext-full/patches
parent9360b151763f9f718a86098f22f13df02a2bdadf (diff)
downloadupstream-b1e7072f5116aa77db5bb2e079b31cebd4a50ce0.tar.gz
upstream-b1e7072f5116aa77db5bb2e079b31cebd4a50ce0.tar.bz2
upstream-b1e7072f5116aa77db5bb2e079b31cebd4a50ce0.zip
gettext-full: add a patch to suppress duplicate definitions of error_print_progname which break on some systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37185
Diffstat (limited to 'package/libs/gettext-full/patches')
-rw-r--r--package/libs/gettext-full/patches/110-error_progname_def.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/gettext-full/patches/110-error_progname_def.patch b/package/libs/gettext-full/patches/110-error_progname_def.patch
new file mode 100644
index 0000000000..bf01d4b6a3
--- /dev/null
+++ b/package/libs/gettext-full/patches/110-error_progname_def.patch
@@ -0,0 +1,11 @@
+--- a/gettext-tools/libgettextpo/error.h
++++ b/gettext-tools/libgettextpo/error.h
+@@ -58,7 +58,7 @@ extern void error_at_line (int __status,
+ /* If NULL, error will flush stdout, then print on stderr the program
+ name, a colon and a space. Otherwise, error will call this
+ function without parameters instead. */
+-void (*error_print_progname) (void);
++extern void (*error_print_progname) (void);
+
+ /* This variable is incremented each time 'error' is called. */
+ extern DLL_VARIABLE unsigned int error_message_count;