diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-06 14:49:16 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-06 14:49:16 +0000 |
commit | a6e54ea086f9cd1dc10fd0a3fcf9d191dc9a0022 (patch) | |
tree | a4b58e1ed7e7e755b070b535b44e792940924dc8 /package/libs/gettext-full | |
parent | 9390d458f57c405c2df0539f0c27b8c23858ad95 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37185 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/gettext-full')
-rw-r--r-- | package/libs/gettext-full/patches/110-error_progname_def.patch | 11 |
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; |