summaryrefslogtreecommitdiff
path: root/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-14 17:32:07 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-14 17:32:07 +0000
commitcec14859bf57043d16896e07b08a7a88a5919542 (patch)
tree29d44100d8eb0c7d9cef00057bdbd02e4206903e /packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
parentb6b08780f028f66c1ac41b16451a5480a0fb32c1 (diff)
gettext: fix building against uclibc
Diffstat (limited to 'packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch')
-rw-r--r--packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch b/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
new file mode 100644
index 0000000000..615a53edd5
--- /dev/null
+++ b/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
@@ -0,0 +1,12 @@
+diff -ur gettext-0.14.6/gettext-tools/lib/error.h gettext-0.14.6-patched/gettext-tools/lib/error.h
+--- gettext-0.14.6/gettext-tools/lib/error.h 2005-05-20 16:03:42.000000000 -0500
++++ gettext-0.14.6-patched/gettext-tools/lib/error.h 2007-01-13 20:57:24.422168053 -0600
+@@ -50,7 +50,7 @@
+ /* 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. */
+-extern DLL_VARIABLE void (*error_print_progname) (void);
++void (*error_print_progname) (void);
+
+ /* This variable is incremented each time `error' is called. */
+ extern DLL_VARIABLE unsigned int error_message_count;