summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 03:09:47 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 03:09:47 +0000
commit0f4f9f729f6478307857b62a791b8e6751dd20e1 (patch)
tree47b395c63395fc6a83d9e3a5ab629571ba6ca7c6
parent5d173ec4122b89857e6d93fc337311b1f87631c9 (diff)
Make gettext have its own definition.
-rw-r--r--package/gettext/gettext-error_print_progname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gettext/gettext-error_print_progname.patch b/package/gettext/gettext-error_print_progname.patch
new file mode 100644
index 000000000..615a53edd
--- /dev/null
+++ b/package/gettext/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;