gettext-full: add a patch to suppress duplicate definitions of error_print_progname...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 6 Jul 2013 14:49:16 +0000 (14:49 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 6 Jul 2013 14:49:16 +0000 (14:49 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37185 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libs/gettext-full/patches/110-error_progname_def.patch [new file with mode: 0644]

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 (file)
index 0000000..bf01d4b
--- /dev/null
@@ -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;