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
owl
Felix Fietkau 2013-07-06 14:49:16 +00:00
parent 9360b15176
commit b1e7072f51
1 changed files with 11 additions and 0 deletions

View File

@ -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;